client

package
v5.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExponentialRoundTripper

type ExponentialRoundTripper struct {
	// contains filtered or unexported fields
}

func NewExponentialRoundTripper

func NewExponentialRoundTripper(transport http.RoundTripper, backoffFactor float64, maxRetryCount int, maxRetryTime time.Duration) (*ExponentialRoundTripper, error)

func (*ExponentialRoundTripper) RoundTrip

func (p *ExponentialRoundTripper) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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