package
0.0.0-20240122153004-13bcfc5aacc5
Repository: https://github.com/stealthycoder/distribution.git
Documentation: pkg.go.dev

# Functions

NewHeaderRequestModifier returns a new RequestModifier which will add the given headers to a request.
NewHTTPReadSeeker handles reading from an HTTP endpoint using a GET request.
NewTransport creates a new transport which will apply modifiers to the request on a RoundTrip call.

# Variables

ErrWrongCodeForByteRange is returned if the client sends a request with a Range header but the server returns a 2xx or 3xx code other than 206 Partial Content.

# Interfaces

ReadSeekCloser combines io.ReadSeeker with io.Closer.
RequestModifier represents an object which will do an inplace modification of an HTTP request.