moby/api/server/middleware
Sebastiaan van Stijn 14503ccebd
api/server/middleware: NewVersionMiddleware: add validation
Make sure the middleware cannot be initialized with out of range versions.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-02-06 18:44:45 +01:00
..
cors.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
debug.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
debug_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
experimental.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
middleware.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
version.go api/server/middleware: NewVersionMiddleware: add validation 2024-02-06 18:44:45 +01:00
version_test.go api/server/middleware: NewVersionMiddleware: add validation 2024-02-06 18:44:45 +01:00