Versions in this module Expand all Collapse all v0 v0.1.2 Dec 11, 2020 v0.1.0 Aug 18, 2020 Changes in this version + var Dropped = errors.New("dropped") + type Lock struct + func New(opts Options) *Lock + func (l *Lock) Acquire(ctx context.Context) error + func (l *Lock) Release() + type Options struct + MaxOutstanding int + MaxPending int + TargetLatency time.Duration + type PLock struct + func NewPriority(opts Options) *PLock + func (l *PLock) Acquire(ctx context.Context, priority int) error + func (l *PLock) Release()