The highest tagged major version is
v4.
package
Version:
v4.15.0+incompatible
Opens a new window with list of versions in this module.
Published: Feb 7, 2019
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.