sing-box/common/dialer/wireguard.go
2024-11-24 19:03:39 +08:00

14 lines
218 B
Go

package dialer
import (
"net"
"github.com/sagernet/sing/common/control"
)
type WireGuardListener interface {
ListenPacketCompat(network, address string) (net.PacketConn, error)
}
var WgControlFns []control.Func