Documentation ¶
Index ¶
Constants ¶
View Source
const IDENTITY_KEY = "username"
View Source
const JWT_SECRET_DEFAULT_SIZE int = 512
Variables ¶
This section is empty.
Functions ¶
func GetJWTMiddleware ¶
func GetJWTMiddleware() (*jwt.GinJWTMiddleware, error)
func GetJWTSecret ¶
func GetJWTSecret() []byte
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.