The highest tagged major version is
v4.
package
Version:
v3.11.1+incompatible
Opens a new window with list of versions in this module.
Published: Mar 2, 2018
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 = newError("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.