package
Version:
v0.0.0-...-76fc54f
Opens a new window with list of versions in this module.
Published: Jun 9, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewToken creates a new JWT token.
type Claims struct {
NationID string `json:"nationID"`
jwt.StandardClaims
}
Claims is a custom claims struct for JWT tokens.
ParseToken parses a JWT token.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.