package
17.12.1-ce-rc2+incompatible
Repository: https://github.com/docker/moby.git
Documentation: pkg.go.dev

# Functions

DebugRequestMiddleware dumps the request to logger.
NewCORSMiddleware creates a new CORSMiddleware with default headers.
NewExperimentalMiddleware creates a new ExperimentalMiddleware.
NewVersionMiddleware creates a new VersionMiddleware with the default versions.

# Structs

CORSMiddleware injects CORS headers to each request when it's configured.
ExperimentalMiddleware is a the middleware in charge of adding the 'Docker-Experimental' header to every outgoing request.
VersionMiddleware is a middleware that validates the client and server versions.

# Interfaces

Middleware is an interface to allow the use of ordinary functions as Docker API filters.