Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ResponseHandler func(c *Context, data interface{}, err error)
自定义响应处理函数
Functions ¶
func ServiceHandler ¶
func ServiceHandler(parseParams func(c *Context) []interface{}, serviceHandler func(args ...interface{}) (result interface{}, err error)) func(c *Context)
抽象服务处理接口
Types ¶
type ResponseData ¶ added in v1.1.1
Click to show internal directories.
Click to hide internal directories.