sing-box/common/dialer/wireguard.go
2024-11-09 12:35:56 +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