package
0.0.0-20241004173815-ee1b27ad00f1
Repository: https://github.com/gearframework/urlshort.git
Documentation: pkg.go.dev

# Functions

BuildJWT create jwt token.
GetUserIDFromJWT return user ID from token.

# Constants

SecretKey salt.
TokenExpired token time life.

# Variables

ErrInvalidAuthorization error if invalid authorization.
ErrNeedAuthorization error if need authorization.

# Structs

Claims jwt struct.