package
0.0.0-20240822173245-257763d86c02
Repository: https://github.com/lookeme/short-url.git
Documentation: pkg.go.dev

# Functions

GetUserID retrieves a user ID from a given JWT.
New constructs a new instance of Authorization with a user service and logger.

# Constants

SecretKey is a constant that holds the secret key used for JWT signing and verification.
TokenExp is a constant that represents the expiration time for JWT tokens.

# Structs

Authorization encapsulates the user service and provides methods for user authentication.
Claims represents the custom claims for JWT authentication.