Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusZero int = 0 StatusOk int = 200 StatusNotFound int = 404 StatusFail int = 500 )
Variables ¶
View Source
var Handler = &Handle{
httpReturn: defaultHttpReturn{},
}
Functions ¶
func SetCustomHttpReturn ¶
func SetCustomHttpReturn(httpReturn HttpReturn)
SetCustomHttpReturn 设置自定义http返回格式
Types ¶
Click to show internal directories.
Click to hide internal directories.