Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidToken = errors.New("token is invalid")
Functions ¶
func CreateToken ¶
func IsAuthorized ¶
Types ¶
type Claims ¶
type Claims struct { Username string `json:"username"` jwt.StandardClaims }
type Credentials ¶
Click to show internal directories.
Click to hide internal directories.