Documentation ¶
Index ¶
Constants ¶
View Source
const ( ReqParamErr = 1001 + iota InitRedisErr EnumNotExist TokenInvalid )
Variables ¶
View Source
var ErrorMessageList = func() map[int32]string { return map[int32]string{ ReqParamErr: "参数错误", InitRedisErr: "初始化redis失败", EnumNotExist: "配置不存在", TokenInvalid: "请重新登录", } }
Functions ¶
func GetErrorMessage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.