Documentation ¶
Index ¶
- func Do(tries int, delay time.Duration, fn func(try int) error) (err error)
- func DoWithContextTimeout(parent context.Context, tries int, delay time.Duration, timeout time.Duration, ...) (err error)
- func DoWithResult[T interface{}](tries int, delay time.Duration, fn func(try int) (T, error)) (result T, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoWithContextTimeout ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.