Versions in this module Expand all Collapse all v0 v0.3.0 Nov 15, 2016 v0.2.0 Jul 27, 2016 v0.1.0 Jun 7, 2016 Changes in this version + var ErrLimited = errors.New("rate limit exceeded") + func NewTokenBucketLimiter(tb *ratelimit.Bucket) endpoint.Middleware + func NewTokenBucketThrottler(tb *ratelimit.Bucket, sleep func(time.Duration)) endpoint.Middleware