package
Version:
v2.2.1+incompatible
Opens a new window with list of versions in this module.
Published: Oct 3, 2016
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("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.