package
Version:
v0.0.0-...-61dbfe3
Opens a new window with list of versions in this module.
Published: Nov 26, 2021
License: MIT
Opens a new window with license information.
Imports: 9
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
Setup Initialize the util
func StructToMapByReflect(obj interface{}) map[string]interface{}
StructToMapByReflect
type Claims struct {
UserId int `json:"userId"`
UserName string `json:"userName"`
Password string `json:"password"`
jwt.StandardClaims
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.