You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ErrNotAcquired is an error indicating that the distributed lock was not acquired. It is returned by IDistMutex.Unlock and IDistMutex.Extend when the lock was not successfully acquired or has expired.
ErrNotAcquired = fmt.Errorf("%w: lock is not acquired", ErrDsync)
)
// IDistSync represents a distributed synchronization mechanism.
type IDistSync interface {
// NewMutex returns a new distributed mutex with given name.