Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultSleeper ¶
func DefaultSleeper(attempt int)
func Exec ¶
func Exec(maxRetries int, fn RunnerFunc, sleep SleeperFunc) error
Types ¶
type RunnerFunc ¶
type RunnerFunc func() error
type SleeperFunc ¶
type SleeperFunc func(attempt int)
Click to show internal directories.
Click to hide internal directories.