package
1.13.1
Repository: https://github.com/react-vue-devel/moby.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 an 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

MimeTypes stores the MIME content type.

# Structs

ServerHeader contains the server information.