Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalJWTKey string
GlobalJWTKey - signature key
Functions ¶
func DecodeJWTToken ¶
DecodeJWTToken - decode token
Types ¶
type Claims ¶
type Claims struct { Username string `json:"username"` jwt.StandardClaims }
Claims -payload storing in jwt token
Click to show internal directories.
Click to hide internal directories.