mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-06-10 14:29:54 +00:00
10 lines
200 B
Go
10 lines
200 B
Go
// Package protect set VPN protect for every conns to bypass route.
|
|
package protect
|
|
|
|
import (
|
|
"net"
|
|
)
|
|
|
|
// ListenUDPFunc listen UDP with VPN protect.
|
|
type ListenUDPFunc func() (net.PacketConn, error)
|