package
Version:
v2.19.3+incompatible
Opens a new window with list of versions in this module.
Published: Feb 23, 2017
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
ErrRetryFailed = errors.New("Retry: All retry attempts failed.")
)
type Strategy interface {
On(func() error) error
}
Strategy is a way to retry on a specific function.
Timed returns a retry strategy with fixed interval.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.