Documentation ¶ Index ¶ func Fail(actionPtr actions.ActionWrapper, message string) func Success(actionPtr actions.ActionWrapper, data interface{}) func SuccessOK(actionPtr actions.ActionWrapper) func ValidateUser(actionPtr actions.ActionWrapper) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Fail ¶ added in v0.1.6 func Fail(actionPtr actions.ActionWrapper, message string) 错误提示 func Success ¶ added in v0.1.6 func Success(actionPtr actions.ActionWrapper, data interface{}) 成功并返回数据 func SuccessOK ¶ added in v0.1.6 func SuccessOK(actionPtr actions.ActionWrapper) 成功 func ValidateUser ¶ func ValidateUser(actionPtr actions.ActionWrapper) 校验用户 Types ¶ This section is empty. Source Files ¶ View all Source files utils.go Click to show internal directories. Click to hide internal directories.