Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CSRF ¶
func CSRF(config CSRFConfig) opm.MiddlewareFunc
Types ¶
type CSRFConfig ¶
type Limiter ¶
func ProtectLimiter ¶
type RateLimiterConfig ¶
type RateLimiterConfig struct { Rate rate.Limit Burst int // contains filtered or unexported fields }
func RateLimiter ¶
func RateLimiter(rate rate.Limit, b int) *RateLimiterConfig
func (*RateLimiterConfig) Middleware ¶
func (m *RateLimiterConfig) Middleware(next opm.Handler) opm.Handler
Click to show internal directories.
Click to hide internal directories.