增加更新重启逻辑

This commit is contained in:
2025-10-17 17:03:19 +08:00
parent 7184defc50
commit 248f9a28e7
24 changed files with 604 additions and 65 deletions

View File

@@ -39,8 +39,9 @@ const (
MsgTypeDiscover = "discover" // 发现目标客户端
MsgTypeDiscoverAck = "discover_ack" // 发现响应
MsgTypeConnectionReq = "connection_req" // 连接请求通知
MsgTypePunchRequest = "punch_request"
MsgTypeError = "error" // 错误消息
MsgTypePunchRequest = "punch_request" // 打洞请求
MsgTypeError = "error" // 错误消息
MsgUpdate = "update" // 更新节点信息
)
// 注册请求数据