traefik/pkg/middlewares/stateful.go
Ludovic Fernandez 328611c619
Update linter
2020-05-11 12:06:07 +02:00

12 lines
257 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
}