package utils import ( "github.com/gorilla/mux" "net/http" ) type IModule interface { GetName() string GetEndpoint() string SetupModule(*mux.Router, func(cb func(http.ResponseWriter, *http.Request, *State)) func(rw http.ResponseWriter, req *http.Request)) }