moby--moby/api/server
Sebastiaan van Stijn 1af30c50ca
Add httputils.FromStatusCode()
This utility allows a client to convert an API response
back to a typed error; allowing the client to perform
different actions based on the type of error, without
having to resort to string-matching the error.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-03-16 00:39:48 +01:00
..
backend/build builder: add prune options to the API 2018-09-01 22:01:17 +00:00
httputils Add httputils.FromStatusCode() 2019-03-16 00:39:48 +01:00
middleware api/server, dockerversion: modify context key 2018-08-22 11:20:22 +09:00
router Merge pull request #35621 from kolyshkin/ipc-private 2019-03-14 19:27:30 +01:00
middleware.go Add canonical import comment 2018-02-05 16:51:57 -05:00
router_swapper.go Add canonical import comment 2018-02-05 16:51:57 -05:00
server.go Rely on request.Context() cancellation 2018-11-27 17:06:31 -08:00
server_test.go Various code-cleanup 2018-05-23 17:50:54 +02:00