retry

package
v0.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RetryFailed = errors.New("All retry attempts failed.")
)

Functions

This section is empty.

Types

type RetryStrategy

type RetryStrategy interface {
	On(func() error) error
}

func Timed

func Timed(attempts int, delay int) RetryStrategy

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL