package
Version:
v0.0.0-...-f646e76
Opens a new window with list of versions in this module.
Published: Nov 1, 2020
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
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.