Versions in this module Expand all Collapse all v1 v1.0.0 Jun 8, 2024 Changes in this version + func New(urls []*url.URL) (lock.DLocker, error) + type LockManager struct + func (l *LockManager) Close() error + func (l *LockManager) Lock(ctx context.Context, id string, ttl int) error + func (l *LockManager) TryLock(ctx context.Context, id string, ttl int) error + func (l *LockManager) Unlock(ctx context.Context, id string) error