1
0
mirror of https://github.com/containous/traefik.git synced 2025-01-21 18:03:50 +03:00
traefik/old/middlewares/stateful.go
2018-11-14 10:18:03 +01:00

13 lines
256 B
Go

package middlewares
import "net/http"
// Stateful interface groups all http interfaces that must be
// implemented by a stateful middleware (ie: recorders)
type Stateful interface {
http.ResponseWriter
http.Hijacker
http.Flusher
http.CloseNotifier
}