完善客户端与服务端注册,端口分配和协议交互逻辑
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user