From c6f6caa8876efa7dd382e220efc92348efca2a31 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=99=AB=E5=AD=90=E6=A8=B1=E6=A1=83?= <czyt.go@gmail.com>
Date: Fri, 3 Jun 2022 00:24:33 +0800
Subject: [PATCH] Add Flusher type alias . (#2078)

Co-authored-by: czyt <czyt@w.cn>
---
 transport/http/codec.go | 3 +++
 1 file changed, 3 insertions(+)

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