Documentation ¶
Index ¶
Constants ¶
View Source
const BearerSchema = "Bearer "
Variables ¶
This section is empty.
Functions ¶
func Auth ¶ added in v1.1.0
func Auth() gin.HandlerFunc
Auth is a middleware that checks if the request has a valid JWT token and then authorizes the request
func Limiter ¶
func Limiter() gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.