Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoMoreRetry = errors.New("no more retry")
ErrNoMoreRetry is a sentinel error indicating that no more retries should be performed.
Functions ¶
func Do ¶
Do executes fn repeatedly until it succeeds, the attempts are exhausted, or fn returns an error that indicates no more retries.
func IsNoMoreRetry ¶
IsNoMoreRetry reports whether the given error indicates to stop retrying.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.