Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrLimitExceed is returned when the rate limiter is // triggered and the request is rejected due to limit exceeded. ErrLimitExceed = errors.New("rate limit exceeded") )
Functions ¶
This section is empty.
Types ¶
type RateLimiter ¶
RateLimiter is a rate limiter.
Click to show internal directories.
Click to hide internal directories.