package
0.0.0-20200517203328-62dd8e17c460
Repository: https://github.com/demonoid81/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.