Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlerFuncWrapper ¶
func HandlerFuncWrapper(fn HandlerFunc) fasthttp.RequestHandler
HandlerFuncWrapper 返回的统一封装
Types ¶
type HandlerFunc ¶
type HandlerFunc func(c *fasthttp.RequestCtx) (data interface{}, err error)
HandlerFunc 是 http handler 函数模型.
Click to show internal directories.
Click to hide internal directories.