1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-27 14:57:05 +00:00

add PartyFunc and gofmt -s -w . 🔷

Former-commit-id: a3809498a45140d691f3f235ad9cb25239d495a2
This commit is contained in:
hiveminded
2017-08-01 22:25:08 +03:00
parent 351f099ad6
commit 9143ccec6e
8 changed files with 73 additions and 8 deletions

View File

@@ -41,6 +41,12 @@ type ResponseRecorder struct {
var _ ResponseWriter = &ResponseRecorder{}
// Naive returns the simple, underline and original http.ResponseWriter
// that backends this response writer.
func (w *ResponseRecorder) Naive() http.ResponseWriter {
return w.ResponseWriter.Naive()
}
// BeginRecord accepts its parent ResponseWriter and
// prepares itself, the response recorder, to record and send response to the client.
func (w *ResponseRecorder) BeginRecord(underline ResponseWriter) {