2022-03-23 00:39:53 +00:00
|
|
|
package utils
|
|
|
|
|
2022-03-24 21:07:44 +00:00
|
|
|
import (
|
|
|
|
"github.com/gorilla/mux"
|
|
|
|
"github.com/gorilla/sessions"
|
|
|
|
"net/http"
|
|
|
|
)
|
2022-03-23 00:39:53 +00:00
|
|
|
|
|
|
|
type IModule interface {
|
2022-03-24 21:07:44 +00:00
|
|
|
SetupModule(*mux.Router, func(cb func(http.ResponseWriter, *http.Request, *sessions.Session)) func(rw http.ResponseWriter, req *http.Request))
|
2022-03-23 00:39:53 +00:00
|
|
|
}
|