mirror of
https://github.com/containous/traefik.git
synced 2025-01-27 14:03:51 +03:00
refactor: Use Statefull interface in access log.
This commit is contained in:
parent
18c3d8dc62
commit
7399a83c74
@ -5,13 +5,12 @@ import (
|
||||
"fmt"
|
||||
"net"
|
||||
"net/http"
|
||||
|
||||
"github.com/containous/traefik/middlewares"
|
||||
)
|
||||
|
||||
var (
|
||||
_ http.ResponseWriter = &captureResponseWriter{}
|
||||
_ http.Hijacker = &captureResponseWriter{}
|
||||
_ http.Flusher = &captureResponseWriter{}
|
||||
_ http.CloseNotifier = &captureResponseWriter{}
|
||||
_ middlewares.Stateful = &captureResponseWriter{}
|
||||
)
|
||||
|
||||
// captureResponseWriter is a wrapper of type http.ResponseWriter
|
||||
|
Loading…
x
Reference in New Issue
Block a user