distribution/docs/handlers
Stephen J Day 81c21411e8 Export ServeJSON for serving error codes
This changeset provides a common http handler for serving errcodes. This should
unify http responses across webservices in the face of errors.

Several type assertions have been added, as well, to ensure the error interface
is implemented.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-07-16 12:14:14 -07:00
..
api_test.go Add Etag header for manifests. 2015-06-19 10:44:21 -07:00
app.go Export ServeJSON for serving error codes 2015-07-16 12:14:14 -07:00
app_test.go Round 4 2015-06-11 21:33:35 -07:00
basicauth.go Move registry package into handler package 2015-02-10 17:25:40 -08:00
basicauth_prego14.go Move registry package into handler package 2015-02-10 17:25:40 -08:00
blob.go Round 4 2015-06-11 21:33:35 -07:00
blobupload.go Round 4 2015-06-11 21:33:35 -07:00
context.go Move ErrorCode logic to new errcode package 2015-05-26 13:18:54 -07:00
helpers.go Export ServeJSON for serving error codes 2015-07-16 12:14:14 -07:00
hmac.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
hmac_test.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
hooks.go Feature: Web Panic Reporting via hooks 2015-05-31 14:21:22 +00:00
images.go Allow Manifest Service to be configured with function arguments 2015-07-15 12:25:16 -07:00
mail.go Feature: Web Panic Reporting via hooks 2015-05-31 14:21:22 +00:00
tags.go Allow Manifest Service to be configured with function arguments 2015-07-15 12:25:16 -07:00