package
0.0.0-20230803065340-eb934a0893fc
Repository: https://github.com/sliceledger-blockchain/slice-ledger.git
Documentation: pkg.go.dev

# Functions

Do performs the provided Operation up to maxAttempts times with delays in between each retry according to the provided Strategy.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ErrFailedPermanently is an error raised by Do when the underlying Operation has been retried maxAttempts times.
ExponentialStrategy performs exponential backoff.
No description provided by the author

# Interfaces

Strategy is used to calculate how long a particular Operation should wait between attempts.

# Type aliases

Operation represents an operation that will be retried based on some backoff strategy if it fails.