sing-box/common/dialer/wireguard.go
2024-11-07 14:29:09 +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