Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SingDialer ¶
func NewByNameSingDialer ¶
func NewByNameSingDialer(proxyName string, dialer C.Dialer) SingDialer
func NewSingDialer ¶
func NewSingDialer(proxy C.ProxyAdapter, dialer C.Dialer, statistic bool) SingDialer
type SlowDownDialer ¶ added in v1.18.1
func NewSlowDownDialer ¶ added in v1.18.1
func NewSlowDownDialer(d C.Dialer, sd *slowdown.SlowDown) SlowDownDialer
func (SlowDownDialer) DialContext ¶ added in v1.18.1
func (SlowDownDialer) ListenPacket ¶ added in v1.18.1
func (d SlowDownDialer) ListenPacket(ctx context.Context, network, address string, rAddrPort netip.AddrPort) (net.PacketConn, error)
type SlowDownSingDialer ¶ added in v1.18.1
type SlowDownSingDialer struct { SingDialer Slowdown *slowdown.SlowDown }
func NewSlowDownSingDialer ¶ added in v1.18.1
func NewSlowDownSingDialer(d SingDialer, sd *slowdown.SlowDown) SlowDownSingDialer
func (SlowDownSingDialer) DialContext ¶ added in v1.18.1
func (SlowDownSingDialer) ListenPacket ¶ added in v1.18.1
func (d SlowDownSingDialer) ListenPacket(ctx context.Context, destination M.Socksaddr) (net.PacketConn, error)
Click to show internal directories.
Click to hide internal directories.