Documentation ¶
Index ¶
Constants ¶
View Source
const DB_ERROR uint32 = 100005
View Source
const DB_UPDATE_AFFECTED_ZERO_ERROR uint32 = 100006
View Source
const OK uint32 = 200
成功返回
View Source
const REUQEST_PARAM_ERROR uint32 = 100002
View Source
const SERVER_COMMON_ERROR uint32 = 100001
全局错误码
View Source
const TOKEN_EXPIRE_ERROR uint32 = 100003
View Source
const TOKEN_GENERATE_ERROR uint32 = 100004
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CodeError ¶
type CodeError struct {
// contains filtered or unexported fields
}
func NewErrCode ¶
func NewErrCodeMsg ¶
Click to show internal directories.
Click to hide internal directories.