backoff

package
v0.98.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: BSD-3-Clause Imports: 4 Imported by: 29

Documentation

Index

Constants

View Source
const MAX_BACKOFF_MSEC = 30000

Variables

This section is empty.

Functions

This section is empty.

Types

type Backoff

type Backoff struct {
	Name     string
	NewTimer func(d time.Duration) *time.Timer
	// contains filtered or unexported fields
}

func (*Backoff) BackOff

func (b *Backoff) BackOff(ctx context.Context, err error)

Jump to

Keyboard shortcuts

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