1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-17 21:07:54 +02:00

Add Flusher type alias . (#2078)

Co-authored-by: czyt <czyt@w.cn>
This commit is contained in:
虫子樱桃 2022-06-03 00:24:33 +08:00 committed by GitHub
parent 95dce00852
commit c6f6caa887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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