Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrInvalidUserNameOrPasswordCode = iota + 11000 ErrGenerateTokenCode ErrRegisterUserCode ErrUpdateLastLoginAtCode ErrUnAuthorizationCode )
Variables ¶
View Source
var ( ErrInvalidUserNameOrPassword = exception.Err("invalid username or password") ErrGenerateToken = exception.Err("failed to create token") ErrRegisterUser = exception.Err("register error") ErrUpdateLastLoginAt = exception.Err("update loginAt error") ErrUnAuthorization = exception.Err("user not login") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.