package
Version:
v0.0.0-...-30cbc32
Opens a new window with list of versions in this module.
Published: Apr 7, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
create a JWT and put in the clients cookie
middleware to protect private pages
type Claims struct {
Username string `json:"username"`
Usertype string `json:"usertype"`
jwt.StandardClaims
}
JWT schema of the data it will store
Source Files
¶
Click to show internal directories.
Click to hide internal directories.