# Functions
No description provided by the author
Equal function returns true if encoded password and salt equals hash.
No description provided by the author
No description provided by the author
Hash function returns Argon2 hash of the password and salt.
InitLogger function initialize logger.
IntEnv function set parsed variable to int pointer if environment variable is present and variable can be parsed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Salt function returns the random salt.
No description provided by the author
StringEnv function set variable to string pointer if environment variable is present.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Log is global variable.
No description provided by the author
TokenIsMissing is a used as a return value from Verify to indicate that the token is missing.
TokenIsNotValid is a used as a return value from Verify to indicate that the token is missing.
WrongTokenLength is a used as a return value from Verify to indicate that the token length not equals to config length.
# Structs
CustomFormatter is a struct that implements Formatter interface.
TokenConfig is a struct with parameters for token generating and verification.
# Type aliases
No description provided by the author
LevelValue type is logging level that implements Value interface.