Registry / utility / jeffchao-backoff

jeffchao-backoff

JSON →
library0.0.0-20140404060208-9d7fd7aa17f2gogounverified

Package backoff is a utility for repeatedly retrying functions with support from a variety of backoff algorithms.

go get github.com/jeffchao/backoff
INSTALL
IMPORT
SIG · JEFFCHAO-BACKOFF
J
jeffchao-backoff
utilitygov0.0.0-20140404060208-9d7fd7aa17f2
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/jeffchao/backoff

Create an exponential backoff and get next delay

package main import ( "fmt" "github.com/jeffchao/backoff" ) func main() { b := backoff.NewExponentialBackOff() fmt.Println(b.NextBackOff()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20140404060208-9d7fd7aa17f2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
jeffchao-backoff — go get jeffchao-backoff · libregistry