backoff

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//Stop alias
	Stop = backoff.Stop

	//StopBackoff stop backoff
	StopBackoff backoff.StopBackOff

	//ZeroBackoff zero backoff
	ZeroBackoff backoff.ZeroBackOff

	//WithContext backoff with context
	WithContext = backoff.WithContext
)

Functions

func ExponentialBackoffBuilder

func ExponentialBackoffBuilder() exponentialBackoffBuilder

ExponentialBackoffBuilder exponential backoff builder

Types

type BackOffContext

type BackOffContext = backoff.BackOffContext //nolint:revive

BackOffContext is alias to backoff.BackOffContext

type Backoff

type Backoff = backoff.BackOff

Backoff is alias to backoff.BackOff

func NewConstantBackOff

func NewConstantBackOff(d time.Duration) Backoff

NewConstantBackOff ...

Jump to

Keyboard shortcuts

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