重命名包 client 为 edge;重命名包 server 为 gateway

This commit is contained in:
2025-05-16 17:04:03 +08:00
parent 22f3c37478
commit 20ac7dbd91
37 changed files with 65 additions and 75 deletions

9
edge/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