Description

RecorderMiddleware keeps a record of the HTTP status code of the response, and the number of bytes written. The result is available to the wrapping handlers as request.Env["STATUS_CODE"].(int), and as request.Env["BYTES_WRITTEN"].(int64)

RecorderMiddleware is referenced in 4 repositories

github.com/ant0ine/go-json-rest github.com/colindev/secretary github.com/marconi/boltapi

...