Documentation
¶
Overview ¶
Package backoff implements a Full-Jitter exponential backoff helper for Go.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func After ¶
After returns a channel that will deliver the current time after the delay produced by Duration. It is shorthand for time.After(Duration(base, cap, attempt)).
func Attempts ¶ added in v1.1.0
Attempts returns an iterator that yields zero-based attempts and waits for the delay from After between successive attempts.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.