package
0.0.0-20240907162627-ed7ba4f55645
Repository: https://github.com/davidado/go-api-reference.git
Documentation: pkg.go.dev

# Functions

ComparePasswords compares a hashed password with a plain text password.
CreateJWT creates a JWT token.
GetUserIDFromContext gets the user ID from the context.
HashPassword hashes a password.
WithJWTAuth adds JWT authentication to a handler.

# Constants

UserKey is the key for the user ID in the context.