Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RateLimiter ¶
速率限制器
func NewLimiter ¶
func NewLimiter(c *Config) (rl *RateLimiter)
func (*RateLimiter) EchoLimit ¶
func (r *RateLimiter) EchoLimit() echo.MiddlewareFunc
func (*RateLimiter) GinLimit ¶
func (r *RateLimiter) GinLimit() gin.HandlerFunc
Click to show internal directories.
Click to hide internal directories.