package
Version:
v0.0.0-...-4b04284
Opens a new window with list of versions in this module.
Published: Jun 14, 2023
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
JWTHandler protects routes with JWT token
VerifyJWTToken checks for expiry and signature
type JWTToken struct {
Token string `json:"token"`
}
JWTToken represents token string
GenerateJWT creates and signs new token
Source Files
¶
Click to show internal directories.
Click to hide internal directories.