Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareHashPass ¶
CompareHashPass: compares a hash and a password params: password string, hash string returns: bool, true if they match, false otherwise
func HashPass ¶
HashPass: hashes a password with a salt params: password string returns: string or err, the hashed password,
func ValidateJWT ¶
ValidateJWT : func to parse JWT and to return the identity
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.