package
Version:
v0.0.0-...-0b81e36
Opens a new window with list of versions in this module.
Published: Nov 3, 2020
License: MIT
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
¶
GenerateToken generate tokens used for auth
func MapToStruct(data map[string]interface{}, inStructPtr interface{})
将map数据结构转换为
Setup Initialize the util
type Claims struct {
Username string `json:"username"`
Password string `json:"password"`
jwt.StandardClaims
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.