Registry / utility / azr-backoff

azr-backoff

JSON →
library0.0.0-20160115115103-53511d3c7330gogounverified

Package backoff provides exponential backoff with jitter for retrying operations.

go get github.com/azr/backoff
INSTALL
IMPORT
SIG · AZR-BACKOFF
A
azr-backoff
utilitygov0.0.0-20160115115103-53511d3c7330
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/azr/backoff

Use exponential backoff with jitter

package main import ( "fmt" "github.com/azr/backoff" ) func main() { b := &backoff.BackOff{} b.Reset() for i := 0; i < 3; i++ { duration := b.Duration() fmt.Printf("backoff %d: %v\n", i, duration) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20160115115103-53511d3c7330latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
OpenAI (training)
2
Amazon
1
Resources
azr-backoff — go get azr-backoff · libregistry