transport
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
const VersionMimetype = "application/vnd.docker.plugins.v1.2+json"VersionMimetype is the Content-Type the engine sends to plugins.
For convenience, there is an alias ingithub.com/moby/moby/v2/pkg/plugins.VersionMimetype.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeHTTPTransport¶
type HTTPTransport struct {http.RoundTripper// contains filtered or unexported fields}HTTPTransport holds anhttp.RoundTripperand information about the scheme and address the transportsends request to.
funcNewHTTPTransport¶
func NewHTTPTransport(rhttp.RoundTripper, scheme, addrstring) *HTTPTransport
NewHTTPTransport creates a new HTTPTransport.
func (HTTPTransport)NewRequest¶
NewRequest creates a new http.Request and sets the URLscheme and address with the transport's fields.