Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RateLimiter ¶
type RateLimiter struct {
// contains filtered or unexported fields
}
RateLimiter is the rate limiter.
func NewRateLimiter ¶
func NewRateLimiter(len int) *RateLimiter
NewRateLimiter returns a new rate limiter.
Click to show internal directories.
Click to hide internal directories.