package
3.0.9
Repository: https://github.com/go-light/httpclient.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewConstantBackoff returns an instance of ConstantBackoff.
NewExponentialBackoff returns an instance of ExponentialBackoff.
NewNoRetrier returns a null object for retriable.
NewRetrier returns retrier with some backoff strategy.
NewRetrierFunc returns a retrier with a retry function defined.

# Interfaces

Backoff interface defines contract for backoff strategies.
Client Is a generic HTTP client interface.
Doer interface has the method required to use a type as custom http client.
Plugin defines the interface that a Heimdall plugin must have plugins can be added to a Heimdall client using the `AddPlugin` method.
Retriable defines contract for retriers to implement.

# Type aliases

RetriableFunc is an adapter to allow the use of ordinary functions as a Retriable.