Registry / utility / cenkalti-backoff-v4

cenkalti-backoff-v4

JSON →
library4.3.0gogounverified

Package backoff implements backoff algorithms for retrying operations.

go get github.com/cenkalti/backoff/v4
INSTALL
IMPORT
SIG · CENKALTI-BACKOFF-V
C
cenkalti-backoff-v4
utilitygov4.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

backoff
github.com/cenkalti/backoff/v4

Retries an operation with exponential backoff.

import "github.com/cenkalti/backoff/v4" func main() { b := backoff.NewExponentialBackOff() err := backoff.Retry(func() error { return nil }, b) fmt.Println(err) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
cenkalti-backoff-v4 — go get cenkalti-backoff-v4 · libregistry