package
Version:
v0.0.0-...-a436832
Opens a new window with list of versions in this module.
Published: Jan 26, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
JwtKey as a secret Key
var JwtKey = []byte(os.Getenv("Secret-Key"))
type Claims struct {
Username string `json:"username"`
Fname string `json:"fname"`
Lname string `json:"lname"`
Email string `json:"email"`
College string `json:"college"`
Password string `json:"password"`
jwt.StandardClaims
}
Claims for JWT token
Source Files
¶
Click to show internal directories.
Click to hide internal directories.