增加客户端日志输出

This commit is contained in:
wangjian 2023-04-05 17:10:29 +08:00
parent 4a4fdbd4f6
commit b109c53056
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ package network
import "git.hpds.cc/Component/network/frame" import "git.hpds.cc/Component/network/frame"
// AsyncHandler is the request-response mode (async) // 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). // PipeHandler is the bidirectional stream mode (blocking).
type PipeHandler func(in <-chan []byte, out chan<- *frame.PayloadFrame) type PipeHandler func(in <-chan []byte, out chan<- *frame.PayloadFrame)