package
0.1.0
Repository: https://github.com/hashicorp/consul.git
Documentation: pkg.go.dev

# Functions

DefaultFailer provides default retry.Run() behavior for unit tests.
No description provided by the author
No description provided by the author
ThreeTimes repeats an operation three times and waits 25ms in between.
TwoSeconds repeats an operation for two seconds and waits 25ms in between.

# Structs

Counter repeats an operation a given number of times and waits between subsequent operations.
R provides context for the retryer.
Timer repeats an operation for a given amount of time and waits between subsequent operations.

# Interfaces

Failer is an interface compatible with testing.T.
Retryer provides an interface for repeating operations until they succeed or an exit condition is met.