traefik/old/middlewares/stateful.go

13 lines
256 B
Go
Raw Normal View History

2018-11-14 09:18:03 +00:00
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
}