| 63 | var ErrNotImplemented = fmt.Errorf("method not implemented") |
| 64 | |
| 65 | type responseRecorder struct { |
| 66 | *ResponseWriterWrapper |
| 67 | statusCode int |
| 68 | buf *bytes.Buffer |
| 69 | shouldBuffer ShouldBufferFunc |
| 70 | size int |
| 71 | wroteHeader bool |
| 72 | stream bool |
| 73 | |
| 74 | readSize *int |
| 75 | } |
| 76 | |
| 77 | // NewResponseRecorder returns a new ResponseRecorder that can be |
| 78 | // used instead of a standard http.ResponseWriter. The recorder is |
nothing calls this directly
no outgoing calls
no test coverage detected