Versions in this module Expand all Collapse all v1 v1.10.8 Oct 6, 2021 v1.10.7 Oct 6, 2021 Changes in this version + var ErrEagerLockFailed = errors.New("eager lock: failed to acquire lock") + type Lock struct + func New() *Lock + func (e *Lock) Lock(key string, value int64) error + func (e *Lock) LockWithRetries(key string, value int64) error