完善客户端与服务端注册,端口分配和协议交互逻辑

This commit is contained in:
2025-05-14 17:46:34 +08:00
parent f86cf47e86
commit 75569d2d6d
14 changed files with 313 additions and 277 deletions

View File

@@ -1,12 +1,8 @@
package core
const Version byte = 1
const Name = "test-edge"
var FwdCtrlPort uint = 18080
var FwdDataPort uint = 18081
var RetryInterval uint = 5
const FwdCtrlPort uint = 18080
const FwdDataPort uint = 18081
var EndpointOnline = "https://api.lanhuip.com/api/edge/online"
var EndpointOffline = "https://api.lanhuip.com/api/edge/offline"
var EndpointGeo = "http://cip.cc"
const RetryInterval uint = 5