Documentation ¶
Index ¶
Constants ¶
View Source
const ( JwtAuthDriverKey = "jwt" CookieAuthDriverKey = "cookie" )
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware(authKey string) gin.HandlerFunc
func RegisterGlobalAuthDriver ¶
func RegisterGlobalAuthDriver(authKey string, key string) gin.HandlerFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.