fix: update core dependency path to git.zkcoi.com/zkcoi/meshray (drop /core)
- go.mod require/replace git.zkcoi.com/zkcoi/meshray/core -> git.zkcoi.com/zkcoi/meshray
- .go imports meshray/core/{engine,connect} -> meshray/{engine,connect} (5 files)
- sync CHANGELOG + adapter.go comments
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
// Package corebind 的契约类型转换:在 meshray-contract 与 meshray/core 内部类型间双向转换。
|
||||
// Package corebind 的契约类型转换:在 meshray-contract 与 meshray 内部类型间双向转换。
|
||||
package corebind
|
||||
|
||||
import (
|
||||
"git.zkcoi.com/zkcoi/meshray-contract"
|
||||
"git.zkcoi.com/zkcoi/meshray/core/connect"
|
||||
"git.zkcoi.com/zkcoi/meshray/core/engine"
|
||||
"git.zkcoi.com/zkcoi/meshray/connect"
|
||||
"git.zkcoi.com/zkcoi/meshray/engine"
|
||||
)
|
||||
|
||||
// 以下函数完成开源契约类型(contract 包)与 meshray/core 内部类型之间的双向转换。
|
||||
// 以下函数完成开源契约类型(contract 包)与 meshray 内部类型之间的双向转换。
|
||||
// 数值型 Layer 在 contract 与 connect 中定义一致,可直接转型。
|
||||
|
||||
func toCoreCandidates(in []contract.Candidate) []core.Candidate {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"net"
|
||||
"sync"
|
||||
|
||||
"git.zkcoi.com/zkcoi/meshray/core/engine"
|
||||
"git.zkcoi.com/zkcoi/meshray/engine"
|
||||
"golang.zx2c4.com/wireguard/conn"
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"sync"
|
||||
|
||||
"git.zkcoi.com/zkcoi/meshray-contract"
|
||||
"git.zkcoi.com/zkcoi/meshray/core/engine"
|
||||
"git.zkcoi.com/zkcoi/meshray/engine"
|
||||
"go.uber.org/zap"
|
||||
"golang.zx2c4.com/wireguard/conn"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user