tools/utils/module.go

11 lines
225 B
Go
Raw Normal View History

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