backoff

package
v0.38.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExpBackoff

type ExpBackoff struct {
	Delay    time.Duration
	MaxDelay time.Duration
	// contains filtered or unexported fields
}

func (*ExpBackoff) Run

func (b *ExpBackoff) Run(f func() error) (err error, ran bool)

Jump to

Keyboard shortcuts

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