调整长连接库

This commit is contained in:
ayflying
2025-04-14 11:17:33 +08:00
parent 97bf7fc390
commit 452aefe3d0
2 changed files with 61 additions and 27 deletions

View File

@@ -8,7 +8,7 @@ type Handler2 func(conn *WebsocketData)
type HandlerMessage func(conn *WebsocketData, req any)
type PbType func(code int32, data []byte) proto.Message
type PbType func(cmd int32, data []byte, code int32, msg string) proto.Message
type PbType2 func(data []byte) (int, []byte)
// 路由器的处理映射