package
Version:
v0.0.0-...-9528f6d
Opens a new window with list of versions in this module.
Published: Oct 18, 2022
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
CheckToken check the Request token
MustUID get the user ID from current request token, panic if unauthorized
SignToken generate JWT token
func VerifyToken(tokenString string) (*jwt.RegisteredClaims, error)
VerifyToken verify JWT token
Source Files
¶
Click to show internal directories.
Click to hide internal directories.