tools/utils/module.go

11 lines
225 B
Go

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