Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInactiveUser = response.NewError("user is inactive", http.StatusUnauthorized)
View Source
var ErrInvalidAccess = response.NewError("invalid access", http.StatusUnauthorized)
View Source
var ErrInvalidToken = response.NewError("invalid token", http.StatusUnauthorized)
View Source
var ErrNoPermissionFound = errors.New("no permission found")
View Source
var ErrTokenExpired = response.NewError("token expired", http.StatusUnauthorized)
View Source
var ErrUserAlreadyRegistered = response.NewError("user is already registered", http.StatusConflict)
View Source
var ErrUserNotFound = response.NewError("user not found", http.StatusNotFound)
View Source
var ErrWrongPassword = response.NewError("wrong password", http.StatusUnauthorized)
Functions ¶
func NewInvalidInput ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.