package
0.0.0-20230825171208-308311b454b7
Repository: https://github.com/eliasdn/elda-bank-api.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
ComparePasswords func for a comparing password.
ConnectionURLBuilder func for building URL connection.
ExtractTokenMetadata func to extract metadata from JWT.
GenerateNewTokens func for generate a new Access & Refresh tokens.
GeneratePassword func for a making hash & salt with user password.
GetCredentialsByRole func for getting credentials from a role name.
NewValidator func for create a new validator for model fields.
NormalizePassword func for a returning the users input as a byte slice.
ParseRefreshToken func for parse second argument from refresh token.
StartServer func for starting a simple server.
StartServerWithGracefulShutdown function for starting server with a graceful shutdown.
ValidatorErrors func for show validation errors for each invalid fields.
VerifyRole func for verifying a given role.

# Structs

TokenMetadata struct to describe metadata in JWT.
Tokens struct to describe tokens object.