Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var JwtKey = []byte("my_secret_key")
JwtKey is the JSONWebToken key used for auth
Functions ¶
Types ¶
type Credentials ¶
Credentials are the credentials used for auth
type GoQRSClaims ¶
type GoQRSClaims struct { ID int64 `json:"id"` Username string `json:"username"` Role string `json:"role"` jwt.StandardClaims }
GoQRSClaims is a claims model
Click to show internal directories.
Click to hide internal directories.