sing-box/common/dialer/wireguard.go
2024-11-20 13:55:27 +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