Documentation ¶
Index ¶
Constants ¶
View Source
const BEARER_SCHEMA = "Bearer "
Variables ¶
View Source
var IdentityKey = "identity"
Functions ¶
func Auth ¶
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.