diff --git a/transport/http/codec.go b/transport/http/codec.go index 176e599af..be1a9a75b 100644 --- a/transport/http/codec.go +++ b/transport/http/codec.go @@ -24,6 +24,9 @@ type Request = http.Request // ResponseWriter type net/http. type ResponseWriter = http.ResponseWriter +// Flusher type net/http +type Flusher = http.Flusher + // DecodeRequestFunc is decode request func. type DecodeRequestFunc func(*http.Request, interface{}) error