package
0.0.5
Repository: https://github.com/getevo/evo-ng.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LimitRetry limits the number of retries to max attempts.
LinearBackoff allows retries regularly with customized intervals.
NoRetry acquire the lock only once.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
ErrLockNotHeld is returned when trying to release an inactive lock.
ErrLockNotObtained is returned when a lock cannot be obtained.
No description provided by the author
No description provided by the author

# Structs

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

# Interfaces

RedisClient is a minimal client interface.
RetryStrategy allows to customise the lock retry strategy.

# Type aliases

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