Versions in this module Expand all Collapse all v0 v0.1.1 Dec 10, 2020 v0.1.0 Aug 18, 2020 Changes in this version + var Dropped = errors.New("dropped") + type Backoff struct + Error error + Limiter *Limiter + Priority int + Step time.Duration + func (r *Backoff) Close() + func (r *Backoff) Try(ctx context.Context) bool + type Config struct + Capacity int + MaxLimit int + type Limiter struct + func New(cfg Config) Limiter + func (l *Limiter) Acquire(ctx context.Context, priority int) error + func (l *Limiter) Backoff() + func (l *Limiter) Release()