1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +02:00

adding response.committed getter

This commit is contained in:
Chase Hutchins 2015-09-13 01:22:19 -07:00
parent dce83db344
commit 56e44a759e

View File

@ -74,6 +74,10 @@ func (r *Response) Size() int64 {
return r.size
}
func (r *Response) Committed() bool {
return r.committed
}
func (r *Response) reset(w http.ResponseWriter) {
r.writer = w
r.size = 0