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 Claims ¶
type Claims struct { Username string `json:"username"` jwt.StandardClaims }
Claims is a claims model
type Credentials ¶
Credentials are the credentials used for auth
Click to show internal directories.
Click to hide internal directories.