package
1.8.2
Repository: https://github.com/projectatomic/docker.git
Documentation: pkg.go.dev

# Functions

DetectContentType returns a best guess representation of the MIME content type for the bytes at c.
Download requests a given URL and returns an io.Reader.
NewHTTPRequestError returns a JSON response error.
parseServerHeader extracts pieces from am HTTP server header which is in the format "docker/version (os)" eg docker/1.8.0-dev (windows).
ResumableRequestReader makes it possible to resume reading a request's body transparently maxfail is the number of times we retry to make requests again (not resumes) totalsize is the total length of the body; auto detect if not provided.
ResumableRequestReaderWithInitialResponse makes it possible to resume reading the body of an already initiated request.

# Variables

No description provided by the author

# Structs

No description provided by the author