This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LogResponseWritter wraps the standard http.ResponseWritter allowing for more | |
// verbose logging | |
type LogResponseWritter struct { | |
status int | |
size int | |
http.ResponseWriter | |
} | |
// func NewMyResponseWriter(res http.ResponseWriter) *MyResponseWriter { | |
// // Default the status code to 200 |