Carl Jackson
ac6efd8f69
Add a note about outgrowing Logger
This is a common enough question that it's worth calling out explicitly.
11 years ago
Carl Jackson
4d9fdbbbcf
Refactor WriterProxy out of web/middleware
It turns out WriterProxy is pretty generally useful, especially when
defining custom http loggers. Expose it in a util package so that other
packages can use it.
11 years ago
Coda Hale
0b12f5954e
Change requestId to requestID.
12 years ago
Carl Jackson
05e53fc481
fancyWriters should also implement io.ReaderFrom
For sendfile(2) support. I should really DRY up the implementations here...
12 years ago
Carl Jackson
66431cbd3b
Move writer proxy to a separate file
12 years ago
Carl Jackson
f9808345b9
Standard middlewares
I've currently written three:
- Request ID generation
- Request logging, with color (!)
- Recovery from panics
12 years ago