retry

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2017 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Linear added in v1.2.0

func Linear(fn func() error, retries uint) error

Linear will retry a function specified number of times

func WithBackoff

func WithBackoff(fn func() error, retries uint) error

WithBackoff will retry a function specified number of times with an exponential backoff

Types

This section is empty.

Jump to

Keyboard shortcuts

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