Versions in this module Expand all Collapse all v2 v2.0.0 Sep 22, 2017 Changes in this version + type RateLimiter struct + func New(rate int, per time.Duration) *RateLimiter + func (rl *RateLimiter) Limit() bool + func (rl *RateLimiter) Undo() + func (rl *RateLimiter) UpdateRate(rate int)