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