1
0
mirror of https://github.com/containous/traefik.git synced 2025-03-16 06:50:13 +03:00
traefik/pkg/middlewares/stateful.go

13 lines
257 B
Go
Raw Permalink Normal View History

package middlewares
import "net/http"
// Stateful interface groups all http interfaces that must be
2020-05-11 12:06:07 +02:00
// implemented by a stateful middleware (ie: recorders).
type Stateful interface {
http.ResponseWriter
http.Hijacker
http.Flusher
http.CloseNotifier
}