package
0.0.1
Repository: https://github.com/ifantsai/go-lib.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
NewPayload creates a new token payload with a specific user id, username and duration.

# Variables

Different type of error returned by the VerifyToken function.
Different type of error 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 token.

# Interfaces

Maker is an interface for managing tokens.