Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SigningKey = "$SolidSigningKey$"
)
Functions ¶
func AuthHandler ¶
func AuthHandler(authRoles ...string) gin.HandlerFunc
func CORSMiddleware ¶
func CORSMiddleware() gin.HandlerFunc
func GenerateToken ¶
func ValidateToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.