package
0.0.0-20230618071851-1228ef3273a2
Repository: https://github.com/dejan91/simple_bank.git
Documentation: pkg.go.dev

# Functions

NewClaims creates a new custom claims.
NewJWTMaker creates a new JWTMaker.
NewPasetoMaker creates a new PasetoMaker.
NewPayload creates a new token payload with a specific username and duration.

# Variables

Different types of error returned by the VerifyToken function.

# Structs

CustomClaims contains the payload data of the token and jwt registered claims.
JWTMaker is a JSON Web Token maker.
PasetoMaker is a PASETO token maker.
No description provided by the author

# Interfaces

Maker is an interface for managing tokens.