Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigJWT ¶
func (*ConfigJWT) GenerateTokenJWT ¶
func (*ConfigJWT) Init ¶
func (jwtConf *ConfigJWT) Init() middleware.JWTConfig
type JWTCustomClaims ¶
type JWTCustomClaims struct { Id int `json:"id"` IsAdmin int `json:"is_admin"` jwt.StandardClaims }
Click to show internal directories.
Click to hide internal directories.