//
pkg.gl
Category
github.com/fastest963/consul
testutil
retry
package
0.9.4
Repository:
https://github.com/fastest963/consul.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
0
Files
153 SLOC
#
Functions
Run
No description provided by the author
RunWith
No description provided by the author
ThreeTimes
ThreeTimes repeats an operation three times and waits 25ms in between.
TwoSeconds
TwoSeconds repeats an operation for two seconds and waits 25ms in between.
#
Structs
Counter
Counter repeats an operation a given number of times and waits between subsequent operations.
R
R provides context for the retryer.
Timer
Timer repeats an operation for a given amount of time and waits between subsequent operations.
#
Interfaces
Failer
Failer is an interface compatible with testing.T.
Retryer
Retryer provides an interface for repeating operations until they succeed or an exit condition is met.