package
Version:
v1.0.10
Opens a new window with list of versions in this module.
Published: Sep 23, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Claims struct {
UserInfo User
jwt.StandardClaims
}
Claims JWT
type User struct {
ID int `json:"id"`
Name string `json:"name"`
Username string `json:"username"`
Metadata interface{} `json:"metadata"`
}
User logged in user representation
Source Files
¶
Click to show internal directories.
Click to hide internal directories.