internal

package
v58.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetURL

func GetURL(httpBackoffClient *httpbackoff.Client, url string, writeSeeker io.WriteSeeker) (contentType string, contentLength int64, err error)

Get the given URL, retrying based on the configuration of the given httpbackoff client, and writing the result to the given WriteSeeker.

Types

type HTTPRetryError

type HTTPRetryError struct {
	Attempts int
	Err      error
}

func (HTTPRetryError) Error

func (re HTTPRetryError) Error() string

Jump to

Keyboard shortcuts

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