package
1.9.29
Repository: https://github.com/infraboard/mcube.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
ExponentialBackoff strategy is an optimization strategy with a retry time of 2**n milliseconds (n means number of times).
No description provided by the author
LimitRetry limits the number of retries to max attempts.
LinearBackoff allows retries regularly with customized intervals.
No description provided by the author
NoRetry acquire the lock only once.

# Constants

No description provided by the author
No description provided by the author

# Variables

ErrLockNotHeld is returned when trying to release an inactive lock.
ErrNotObtained is returned when a lock cannot be obtained.

# Structs

Options describe the options for the lock.
Lock represents an obtained, distributed lock.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
RetryStrategy allows to customise the lock retry strategy.

# Type aliases

No description provided by the author