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