Registry / http-client / taskcluster-httpbackoff-v3

taskcluster-httpbackoff-v3

JSON →
library3.1.0gogounverified

This package provides exponential backoff support for making HTTP requests, retrying on network failures and HTTP 5xx status codes.

go get github.com/taskcluster/httpbackoff/v3
INSTALL
IMPORT
SIG · TASKCLUSTER-HTTPBA
T
taskcluster-httpbackoff-v3
http-clientgov3.1.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.

httpbackoff
github.com/taskcluster/httpbackoff/v3

Perform an HTTP GET with automatic retries using httpbackoff.Get

package main import ( "fmt" "net/http" "github.com/taskcluster/httpbackoff/v3" ) func main() { resp, err := httpbackoff.Get("https://example.com") if err != nil { fmt.Println(err) return } fmt.Println(resp.StatusCode) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
20
Amazon
1
Resources
taskcluster-httpbackoff-v3 — go get taskcluster-httpbackoff-v3 · libregistry