package
0.5.0
Repository: https://github.com/swfrench/simple-session.git
Documentation: pkg.go.dev

# Variables

ErrAborted indicates that the work function provided to Do invoked the Abort callback indicating a non-retryable error.
ErrExhausted indicates that the work function provided to Do exhausted the provided attempt budget without succeeding.
ErrInvalidPolicyParam indicates that one or more Policy parameters are invalid (e.g., fall outside accepted intervals).

# Structs

Backoff is a Policy implementing jittered exponential backoff.
RetryContext is passed to a WorkFn provided to a given Policy via Do, and is used to report "terminal" attempt outcomes.

# Interfaces

Policy represents an abstract retry policy, which can be used to execute a retryable work function.

# Type aliases

WorkFn represents the retryable work provided to a Policy for execution (i.e., passed to Do).