package
Version:
v0.1.20200821
Opens a new window with list of versions in this module.
Published: Aug 21, 2020
License: GPL-3.0
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
¶
View Source
const (
SUCCESS = iota
InvalidParams
ErrorAuthCheckTokenFail
ErrorAuthCheckTokenTimeout
)
type Claims struct {
UserName string `json:"user_name"`
Password string `json:"password"`
Role int `json:"role"`
jwt.StandardClaims
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.