package
0.0.0-20211113074651-c6ea6ab4ee08
Repository: https://github.com/tsaikd/kdgolib.git
Documentation: pkg.go.dev

# Functions

Every converts a minimum time interval between events to a Limit.
New return BucketRateLimiter.

# Structs

BucketRateLimiter main struct.

# Type aliases

Limit defines the maximum frequency of some events.
OptionCleanTicker check bucket limiter should be removed interval.
OptionCleanTimeout bucket limiter will be removed after last wait plus timeout.