Versions in this module Expand all Collapse all v0 v0.1.0 Nov 9, 2026 Changes in this version + var Default = Limit + type Key struct + func (k *Key) Acquire(ctx context.Context) error + func (k *Key) Release() + func (k *Key) TryAcquire() bool + func (k *Key) Wait(ctx context.Context) error + type Limit struct + Burst int + Concurrency int + Every time.Duration + type Registry struct + func NewRegistry() *Registry + func (r *Registry) For(key string) *Key + func (r *Registry) Limit(key string) (Limit, bool) + func (r *Registry) Set(key string, l Limit)