12 lines
267 B
Go
12 lines
267 B
Go
package utils
|
|
|
|
import (
|
|
"github.com/gorilla/mux"
|
|
"github.com/gorilla/sessions"
|
|
"net/http"
|
|
)
|
|
|
|
type IModule interface {
|
|
SetupModule(*mux.Router, func(cb func(http.ResponseWriter, *http.Request, *sessions.Session)) func(rw http.ResponseWriter, req *http.Request))
|
|
}
|