Documentation ¶
Index ¶
Constants ¶
View Source
const ( UnknownError = "unknown error" InvalidRequestBody = "invalid request body" ValidationError = "validation error" InternalDatabaseError = "internal database service error" InternalRedisError = "internal redis service error" SessionServiceError = "session service error" AuthServiceError = "authentication service error" EmailExistsError = "user or email already exists" CredentialError = "wrong or invalid user and password" UserNotFound = "user not found" SessionExpires = "session not found or already expired" SessionCookieNotFound = "session id cookie not found or empty" JWTTokenCookieNotFound = "jwt token cookie not found" BcryptPassCompareError = "bcrypt password comparation error" BcryptPassGenError = "bcrypt password hash generation error" UUIDGenError = "uuid generation error" UUIDParsingError = "uuid parsing error" JWTGenError = "jwt token generation error" JWTParsingError = "jwt token parsing error" PaylodParsingError = "request payload parsing error" TypeAssertionError = "type assertion error" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.