Registry / utility / cenk-backoff

cenk-backoff

JSON →
library2.2.1+incompatiblegogounverified

Package backoff implements backoff algorithms for retrying operations.

go get github.com/cenk/backoff
INSTALL
IMPORT
SIG · CENK-BACKOFF
C
cenk-backoff
utilitygov2.2.1+incompatible
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/cenk/backoff

Create an exponential backoff timer and get the next backoff duration.

package main import ( "fmt" "time" "github.com/cenk/backoff" ) func main() { b := backoff.NewExponentialBackOff() fmt.Println(b.NextBackOff()) }
Debug
Known issues
gotchaThe latest version is tagged as incompatible with Go modules (v2.2.1+incompatible).
fix
Use the v3 version or consider using cenkalti/backoff which is actively maintained.
affects: >=2.0.0
Upgrade
Version history
2.2.1+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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