Registry / utility / cenkalti-backoff-v2

cenkalti-backoff-v2

JSON →
library2.2.1gogounverified

Package backoff implements backoff algorithms for retrying operations.

go get gopkg.in/cenkalti/backoff.v2
INSTALL
IMPORT
SIG · CENKALTI-BACKOFF-V
C
cenkalti-backoff-v2
utilitygov2.2.1
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
gopkg.in/cenkalti/backoff.v2

Creates an exponential backoff and gets the next backoff duration.

package main import ( "fmt" "time" "gopkg.in/cenkalti/backoff.v2" ) func main() { b := backoff.NewExponentialBackOff() fmt.Println(b.NextBackOff()) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
cenkalti-backoff-v2 — go get cenkalti-backoff-v2 · libregistry