# Constants
Email verification statuses.
password recovery code.
verify email of newly registered user.
verify request of updating user email.
Redis key prefixes.
Redis key prefixes.
Email verification statuses.
Email verification statuses.
Redis key prefixes.
# Variables
InMemorySecret2FA - keep secrets temporarily in memory to setup 2FA.
# Structs
Auth model - `auths` table.
AuthPayload - struct to handle all auth data.
HTTPResponse - final response to the api consumers.
KeyValue - general model to process key-value pair.
Secret2FA - save encoded secrets in RAM temporarily.
TempEmail - 'temp_emails' table to hold data temporarily during the process of replacing a user's email address with a new one.
TwoFA model - 'two_fas' table.
TwoFABackup model - 'two_fa_backups' table.