package
0.0.0-20241220230325-193e05bca902
Repository: https://github.com/egdaemon/eg.git
Documentation: pkg.go.dev

# Functions

Attempt with a backoff strategy.
Constant always returns the provided duration regardless of the attempt.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
generate a *consistent* duration based on the input i within the provided window.
No description provided by the author
uint64 to prevent negative values.
Explicit an explicit set of delays to use.
Exponential implements expoential backoff.
Jitter set a jitter frame for the strategy.
No description provided by the author
Maximum sets an upper bound for the strategy.
New backoff.
No description provided by the author

# Interfaces

No description provided by the author
Strategy strategy to compute how long to wait before retrying message.

# Type aliases

Option consumes a strategy and returns a new strategy.
StrategyFunc convience helper to convert a pure function into a backoff strategy.