rebuild: split core into separate repo; move wg-go integration to internal/ctr/corebind

- go.mod: require git.zkcoi.com/zkcoi/meshray/core, replace => ../Meshray
- internal/ctr/corebind: EnhancedBind + registry + adapter (wg-go integration isolated)
- cmd/mr-wg migrated from old core/cmd/meshray-core
- core/ removed; CHANGELOG updated; fix checkdb vet warning
This commit is contained in:
2026-07-15 16:08:13 +08:00
parent 15dab96872
commit 59e3059246
39 changed files with 2350 additions and 4361 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"network_id": "net1",
"listen_port": 51820,
"mtu": 1420,
"private_key": "",
"private_key_file": "key.txt",
"interface": "10.0.0.1/24",
"mode": "enhanced",
"peers": [
{
"public_key": "<对端机器 -genkey 生成的私钥对应的公钥>",
"endpoint": "对端公网IP:51820",
"allowed_ips": ["10.0.0.2/32"]
}
],
"ice": { "stun": [], "turn": [] }
}