# Functions
No description provided by the author
Cors middleware.
ErrDatabase is error message for inability to perform database operation.
ErrInternalServerError is error message for Internal Server.
ErrInvalidEmailSignup shapes error message if the users email address is invalid.
ErrInvalidRequest is error message for Unauthorized.
ErrPermission is error message for Unauthorized.
ErrRequestEntityTooLarge is error message for Request Entity Too Large.
ErrServiceUnavailable is error message for Service Unavailable.
ErrUnauthorized is error message for Unauthorized.
No description provided by the author
IgnoreError ignores error.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ErrBadID error message for bad or invalid id.
ErrEncryptionError error message for bcrypt password encryption error.
ErrInvalidSession error message for invalid session.
ErrPermissionDenied error message for permission denied.
ErrUserExists throws error if user already exists.
No description provided by the author
SessionCtxKey is the context.Context key to store the request context.
# Structs
ApiError holds possible http api error fields.
contextKey is a value for use with context.WithValue.
Run secondary functions based on severity.
Status customizes http response status.
No description provided by the author
No description provided by the author