mirror of
https://github.com/kataras/iris.git
synced 2026-01-03 18:27:07 +00:00
add PartyFunc and gofmt -s -w . 🔷
Former-commit-id: a3809498a45140d691f3f235ad9cb25239d495a2
This commit is contained in:
@@ -28,6 +28,10 @@ type ResponseWriter interface {
|
||||
http.CloseNotifier
|
||||
http.Pusher
|
||||
|
||||
// Naive returns the simple, underline and original http.ResponseWriter
|
||||
// that backends this response writer.
|
||||
Naive() http.ResponseWriter
|
||||
|
||||
// BeginResponse receives an http.ResponseWriter
|
||||
// and initialize or reset the response writer's field's values.
|
||||
BeginResponse(http.ResponseWriter)
|
||||
@@ -117,6 +121,12 @@ const (
|
||||
StatusCodeWritten = 0
|
||||
)
|
||||
|
||||
// Naive returns the simple, underline and original http.ResponseWriter
|
||||
// that backends this response writer.
|
||||
func (w *responseWriter) Naive() http.ResponseWriter {
|
||||
return w.ResponseWriter
|
||||
}
|
||||
|
||||
// BeginResponse receives an http.ResponseWriter
|
||||
// and initialize or reset the response writer's field's values.
|
||||
func (w *responseWriter) BeginResponse(underline http.ResponseWriter) {
|
||||
|
||||
Reference in New Issue
Block a user