# Functions
BitRateToByteDuration returns the duration between bytes for a given bit rate in bits per second, rounded down to nanoseconds.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewLowercaseHeaders returns a map of headers for the given http.Header with all header names in lower-case.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
# Variables
Changed only during tests.
# Structs
No description provided by the author
Download wraps the retrieval of a resource at a URL using HTTP GET requests and exposes the received data through its implementation of the io.Reader interface.
Downloader has helper functions for common use cases of Download, such as writing a resource to a file while downloading it, downloading multiple resources in parallel and verifying the hashsum or signature of downloading resources.
No description provided by the author
TimeoutingReader wraps an io.Reader with a configurable timeout.
# Interfaces
DownloadProgressHandler is an interface which defines callbacks for typical events which will or may occur during a resource download via an HTTP GET request, such as receiving bytes, the connection being interrupted or a bad HTTP response code being received.
# Type aliases
No description provided by the author
LowercaseHeaders models http.Header with each header name being lower-case.