retryablehttp

package
v6.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const BackoffMultiplier = 1.5
View Source
const MaxRetryAttempts = 3
View Source
const MaximumDelayDuration = 5 * time.Second
View Source
const MinimumDelay = 500
View Source
const MinimumDelayDuration = 250 * time.Millisecond
View Source
const RandomizationFactor = 0.5

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpClient

type HttpClient struct {
	http.Client
}

func (*HttpClient) Do

func (client *HttpClient) Do(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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