Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RateLimitPlugin ¶
type RateLimitPlugin struct {
LimitCount int
Mutex *sync.RWMutex
LimitQueues map[string]*RateLimiter
Next plugin.Handler
}
func (*RateLimitPlugin) Name ¶
func (e *RateLimitPlugin) Name() string
Name implements the Handler interface.
Click to show internal directories.
Click to hide internal directories.