middleware.go 318 B

1234567
  1. package middleware
  2. import "github.com/docker/docker/api/server/httputils"
  3. // Middleware is an adapter to allow the use of ordinary functions as Docker API filters.
  4. // Any function that has the appropriate signature can be registered as a middleware.
  5. type Middleware func(handler httputils.APIFunc) httputils.APIFunc