package
0.0.0-20221127025644-5253e353d0a3
Repository: https://github.com/darrelasandbox/go-simple-bank.git
Documentation: pkg.go.dev

# Functions

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 errors returned by the VerifyToken function.
Different types of errors returned by the VerifyToken function.

# Structs

JWTMaker is a JSON Web Token maker.
PasetoMaker is a PASETO token maker.
Payload contains the payload data of the token.

# Interfaces

Maker is an interface for managing tokens.