Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoute ¶
func RegisterRoute(route string, handler HandlerFUNC)
func StartHttpServer ¶
func StartHttpServer() error
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) Context ¶
func (m *Controller) Context() *Context
type HandlerFUNC ¶
type HandlerFUNC func(ctx *Context)
type HttpServerHandler ¶
type HttpServerHandler struct{}
func (*HttpServerHandler) ServeHTTP ¶
func (*HttpServerHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.