Rename module

This commit is contained in:
世界 2026-05-17 20:08:42 +08:00
parent f853bfc5c5
commit 75d0f348d5
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
20 changed files with 33 additions and 46 deletions

View file

@ -9,8 +9,8 @@ import (
"net"
"os"
"github.com/sagernet/wireguard-go/rwcancel"
"golang.org/x/sys/unix"
"golang.zx2c4.com/wireguard/rwcancel"
)
type UAPIListener struct {
@ -84,7 +84,6 @@ func UAPIListen(name string, file *os.File) (net.Listener, error) {
unix.IN_DELETE|
unix.IN_DELETE_SELF,
)
if err != nil {
return nil, err
}

View file

@ -8,8 +8,8 @@ package ipc
import (
"net"
"github.com/sagernet/wireguard-go/ipc/namedpipe"
"golang.org/x/sys/windows"
"golang.zx2c4.com/wireguard/ipc/namedpipe"
)
// TODO: replace these with actual standard windows error numbers from the win package