package
module
Version:
v0.0.0-...-980fbd8
Opens a new window with list of versions in this module.
Published: Jan 14, 2022
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
¶
func NewJWT() *registerJWT
type CustomClaims struct {
UserName string `json:"username"`
jwt.StandardClaims
}
自定义有效载荷(这里采用自定义的UserName和Password作为有效载荷的一部分)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.