hashicorp/go-retryablehttp
Retryable HTTP client in Go observed · 2026-08-28
Health v2 · maintenance only
69/100
- Activity 81
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3922
- days_rel: n/a
- days_push: 114
- n_releases_24m: 0
Adoption not part of the score
2343 stars · 296 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library providing an HTTP client wrapper around net/http with automatic retries and exponential backoff. It exposes a nearly identical API to the standard library, making it easy to drop into existing Go programs.
Use cases
- add automatic retries to http requests in go
- retry failed http calls with exponential backoff
- make resilient api calls that survive transient errors
- retry on 5xx responses and connection errors
- wrap net/http client with retry logic
- rewind request bodies for retrying post requests
When to choose
- you want drop-in retry behavior for Go HTTP calls with a familiar net/http API
- you need to retry idempotent requests or rewindable-body requests on transient failures
- you want a battle-tested HashiCorp library with a standard *http.Client conversion
When to avoid
- you need retries for non-HTTP protocols
- you require fine-grained custom retry policies beyond error/5xx conditions
- your Go version is older than the library's minimum requirement
Facets
library · maturity stable
http-client middleware web-development developer-tools apis go cross-platform retry exponential-backoff net-http-wrapper resilience
1 source
- readme: https://github.com/hashicorp/go-retryablehttp · fetched 2026-08-28 · fb2c992dbae5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hashicorp/go-retryablehttp | main | 69 |
For agents
markdown · JSON · MCP: product_card(name="hashicorp/go-retryablehttp")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem