Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HandleT ¶
type HandleT struct {
// contains filtered or unexported fields
}
HandleT is a Handle for event limiter
func (*HandleT) LimitReached ¶
LimitReached returns true if number of events in the rolling window is less than the max events allowed, else false
type RateLimiter ¶ added in v0.1.10
RateLimiter is an interface for rate limiting functions
Click to show internal directories.
Click to hide internal directories.