tools/utils/module.go
2022-03-24 21:07:44 +00:00

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))
}