chore: hello mihomo

This commit is contained in:
wwqgtxx
2023-11-03 21:01:45 +08:00
parent 8c3557e96b
commit 17c9d507be
325 changed files with 1297 additions and 1315 deletions

View File

@@ -6,7 +6,7 @@ import (
"strconv"
"strings"
"github.com/Dreamacro/clash/component/iface"
"github.com/metacubex/mihomo/component/iface"
)
func LookupLocalAddrFromIfaceName(ifaceName string, network string, destination netip.Addr, port int) (net.Addr, error) {

View File

@@ -6,7 +6,7 @@ import (
"net/netip"
"syscall"
"github.com/Dreamacro/clash/component/iface"
"github.com/metacubex/mihomo/component/iface"
"golang.org/x/sys/unix"
)

View File

@@ -9,7 +9,7 @@ import (
"syscall"
"unsafe"
"github.com/Dreamacro/clash/component/iface"
"github.com/metacubex/mihomo/component/iface"
)
const (

View File

@@ -11,7 +11,7 @@ import (
"sync"
"time"
"github.com/Dreamacro/clash/component/resolver"
"github.com/metacubex/mihomo/component/resolver"
)
type dialFunc func(ctx context.Context, network string, ips []netip.Addr, port string, opt *option) (net.Conn, error)

View File

@@ -7,7 +7,7 @@ import (
"net/netip"
"sync"
"github.com/Dreamacro/clash/log"
"github.com/metacubex/mihomo/log"
)
var printMarkWarnOnce sync.Once

View File

@@ -4,8 +4,8 @@ import (
"context"
"net"
"github.com/Dreamacro/clash/common/atomic"
"github.com/Dreamacro/clash/component/resolver"
"github.com/metacubex/mihomo/common/atomic"
"github.com/metacubex/mihomo/component/resolver"
)
var (