重新规划网关与节点的交互协议,实现统一命令位的识别和处理

This commit is contained in:
2025-05-16 15:13:16 +08:00
parent d65fe4db6f
commit 8a6a4833d4
22 changed files with 609 additions and 373 deletions

9
client/core/consts.go Normal file
View File

@@ -0,0 +1,9 @@
package core
const Version byte = 1
const FwdCtrlPort uint = 18080
const FwdDataPort uint = 18081
const RetryInterval uint = 5
const HeartbeatInterval uint = 30