Fix stats responseRecorder Hijacker

Signed-off-by: Emile Vauge <emile@vauge.com>
This commit is contained in:
Emile Vauge 2017-05-13 19:02:06 +02:00
parent aa4ed088bb
commit 71cec1580b
No known key found for this signature in database
GPG key ID: D808B4C167352E59
3 changed files with 36 additions and 4 deletions

View file

@ -12,10 +12,7 @@ import (
)
var (
_ http.ResponseWriter = &ResponseRecorder{}
_ http.Hijacker = &ResponseRecorder{}
_ http.Flusher = &ResponseRecorder{}
_ http.CloseNotifier = &ResponseRecorder{}
_ Stateful = &ResponseRecorder{}
)
// Retry is a middleware that retries requests