Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var JwtKey = []byte("your-secret-key")
Functions ¶
func GenerateJWT ¶
GenerateJWT creates a new JWT for a given username
func IsAuthenticated ¶
func IsAuthenticated() gin.HandlerFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.