Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( InsecureJWT = errors.New("jwt is not secure") BadRequestMethod = errors.New(http.StatusText(http.StatusMethodNotAllowed)) InternalError = errors.New(http.StatusText(http.StatusInternalServerError)) NoJSONBody = errors.New("unable to decode JSON") InvalidEmail = errors.New("invalid email") InvalidInput = errors.New("invalid input") FailedLogin = errors.New("invalid username or password") AlreadyRegistered = errors.New("an account already exists for this email") VerificationNotFound = errors.New("invalid verification code") VerificationExpired = errors.New("verification code was already used") UserNotFound = errors.New("user does not exist") PostNotFound = errors.New("post does not exist") ResetNotFound = errors.New("invalid password reset code") BadCSRF = errors.New("missing CSRF header") BadOrigin = errors.New("invalid origin header") RouteNotFound = errors.New("route not found") ExpiredToken = errors.New("your access token expired") InvalidToken = errors.New("your access token is invalid") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.