package
Version:
v0.0.0-...-6cc2e2a
Opens a new window with list of versions in this module.
Published: Aug 4, 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
¶
type JWT_INFO struct {
Email string `json:"email"`
IsAdmin bool `json:"isAdmin"`
ExpiredAt time.Time `json:"expiry"`
}
VerifyJWT - decrypts JWT to make sure its valid and also checks whether it is past its expiry or not
Source Files
¶
Click to show internal directories.
Click to hide internal directories.