package
0.0.0-20171102084640-4d4b9d2fae85
Repository: https://github.com/duncodes/ecom.git
Documentation: pkg.go.dev
# Functions
Authenticate middleware to check if a request it Authenticated.
CompareHash compares users provided password with the hash.
GenerateJWTTokken generates a jwt web token with username as claim, and the user uuid TODO add more claims , roles claims.
HashPassword creates a hash of a password.
# Constants
RSA keys.
# Variables
SignKey key is use to sign jwt with rsa.