Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶
func AuthMiddleware(authService *services.AuthService) gin.HandlerFunc
func CORS ¶
func CORS() gin.HandlerFunc
Types ¶
type JWKStore ¶
type JWKStore struct {
// contains filtered or unexported fields
}
func NewJWKStore ¶
type RateLimitConfig ¶
type RateLimiter ¶
type RateLimiter struct {
// contains filtered or unexported fields
}
func NewRateLimiter ¶
func NewRateLimiter(redisClient *redis.Client) *RateLimiter
func (*RateLimiter) AddLimiter ¶
func (rl *RateLimiter) AddLimiter(name string, config RateLimitConfig)
func (*RateLimiter) Middleware ¶
func (rl *RateLimiter) Middleware(name string) gin.HandlerFunc
Click to show internal directories.
Click to hide internal directories.