registry/context
Aaron Lehmann 10f602b158 Don't panic when a http.ResponseWriter does not implement CloseNotifier
Instead, provide a variant of instrumentedResponseWriter that does not
implement CloseNotifier, and use that when necessary. In
copyFullPayload, log instead of panicing when we encounter something
that doesn't implement CloseNotifier.

This is more complicated than I'd like, but it's necessary because
instrumentedResponseWriter must not embed CloseNotifier unless there's
really a CloseNotifier to embed.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-08-06 15:50:54 -07:00
..
context.go Move context once to instanceContext from global scope 2015-07-30 13:59:44 -07:00
doc.go Context package to support context-aware logging 2015-02-06 16:20:38 -08:00
http.go Don't panic when a http.ResponseWriter does not implement CloseNotifier 2015-08-06 15:50:54 -07:00
http_test.go Don't panic when a http.ResponseWriter does not implement CloseNotifier 2015-08-06 15:50:54 -07:00
logger.go Only enable uuid generation warning when using registry handlers 2015-07-30 14:27:07 -07:00
trace.go Replace uuid dependency with internal library 2015-05-22 18:59:41 -07:00
trace_test.go Contextual tracing support for logs 2015-04-10 16:42:30 -07:00
util.go Improve context package 2015-04-01 15:40:21 -07:00