backoff

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BackoffJittered = "jittered"
	BackoffConstant = "constant"
	BackoffZero     = "zero"
	//DefaultBackOffKind is zero
	DefaultBackOffKind = BackoffZero
)

constant for back off

Variables

This section is empty.

Functions

func GetBackOff

func GetBackOff(kind string, min, max int) backoff.BackOff

GetBackOff return the the back off policy

Types

This section is empty.

Jump to

Keyboard shortcuts

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