Repository navigation
failnext v1.0.0
This is the first stable release of failnext.
v1.0.0 establishes a stable public API, with backward compatibility maintained across v1 releases.
failnext is a Go library for client-side failover across a small, fixed set of HTTP or RPC providers through Go's http.RoundTripper interface.
A primary use case is go-ethereum over HTTP JSON-RPC, but the library is protocol-neutral. failnext handles provider selection and HTTP failover, while applications decide which providers are suitable, which operations may safely fail over, and when to retry after application-level errors.
The project started as rcpx in February 2026 and was later renamed to failnext as part of a larger redesign.
Changes
Since v0.7.0:
- Add per-attempt duration reporting through
Event.Duration - Add go-ethereum failover integration tests
- Document POST failover configuration with
PermissionPolicy - Improve the README and public API documentation
- Add security reporting and contribution guidelines
The existing failover behavior remains unchanged.
See the README and examples/goethereum for usage examples.