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
+8
View File
@@ -0,0 +1,8 @@
//go:build meshray_core
// Package ctr 管理器在增强构建下空白导入 corebind,
// 触发其 init() 向开源契约注册表注册自定义 conn.Bind 工厂与引擎提供方。
// 默认构建不编译本文件,因此管理器可独立编译、以标准 WireGuard 直连运行。
package ctr
import _ "git.zkcoi.com/zkcoi/meshray/internal/ctr/corebind"