package
2.4.0+incompatible
Repository: https://github.com/agilebits/jaeger-lib.git
Documentation: pkg.go.dev
# Functions
NewRateLimiter creates a new rate limiter based on leaky bucket algorithm, formulated in terms of a credits balance that is replenished every time CheckCredit() method is called (tick) by the amount proportional to the time elapsed since the last tick, up to max of creditsPerSecond.
# Interfaces
RateLimiter is a filter used to check if a message that is worth itemCost units is within the rate limits.