retry-http

command
v1.29.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 7 Imported by: 0

README

retry-http

A retry loop recovers from a transient failure injected into an http.Client transport.

newEngine installs a Times(1) error rule on OpHTTPClient, so the first request fails and the retry succeeds. TestRetryRecovers proves the retry path works; TestSingleAttemptSurfacesFault proves the fault really fires.

Documentation

Overview

Command retry-http demonstrates a retry loop recovering from a transient fault injected into an http.Client's transport. Run with `go run .`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL