retry

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(attempts int, interval time.Duration, f Func) bool

Do retries provided function "attempts" times with provided interval and returning true if it's successfully completed

Types

type Func

type Func = func() bool

Func is the function to retry returning true if it's successfully completed

Jump to

Keyboard shortcuts

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