1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/server
David Calavera 8d3467626e
Move middleware to interfaces.
This makes separating middlewares from the core api easier.
As an example, the authorization middleware is moved to
it's own package.

Initialize all static middlewares when the server is created, reducing
allocations every time a route is wrapper with the middlewares.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-04-11 09:19:27 -07:00
..
httputils Let client print error when speicify wrong detach keys 2016-04-04 15:35:55 +08:00
middleware Move middleware to interfaces. 2016-04-11 09:19:27 -07:00
router Remove reference package dependency from the api. 2016-04-07 15:01:23 -07:00
middleware.go Move middleware to interfaces. 2016-04-11 09:19:27 -07:00
profiler.go Remove all docker debugging knowledge from the server. 2016-02-16 14:11:16 -05:00
router_swapper.go fix typos 2016-03-06 00:59:11 +08:00
server.go Move middleware to interfaces. 2016-04-11 09:19:27 -07:00
server_test.go Move middleware to interfaces. 2016-04-11 09:19:27 -07:00