From b109c53056fbec300d9e75c41f0d513281c496a1 Mon Sep 17 00:00:00 2001 From: wangjian Date: Wed, 5 Apr 2023 17:10:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AE=A2=E6=88=B7=E7=AB=AF?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handler_type.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler_type.go b/handler_type.go index 84f138c..6dd3832 100644 --- a/handler_type.go +++ b/handler_type.go @@ -3,7 +3,7 @@ package network import "git.hpds.cc/Component/network/frame" // AsyncHandler is the request-response mode (async) -type AsyncHandler func([]byte) (byte, []byte) +type AsyncHandler func([]byte) (frame.Tag, []byte) // PipeHandler is the bidirectional stream mode (blocking). type PipeHandler func(in <-chan []byte, out chan<- *frame.PayloadFrame)