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 ¶
func NewSlowDownDialer ¶
func NewSlowDownDialer(d C.Dialer, sd *slowdown.SlowDown) SlowDownDialer
func (SlowDownDialer) DialContext ¶
func (SlowDownDialer) ListenPacket ¶
func (d SlowDownDialer) ListenPacket(ctx context.Context, network, address string, rAddrPort netip.AddrPort) (net.PacketConn, error)
type SlowDownSingDialer ¶
type SlowDownSingDialer struct { SingDialer Slowdown *slowdown.SlowDown }
func NewSlowDownSingDialer ¶
func NewSlowDownSingDialer(d SingDialer, sd *slowdown.SlowDown) SlowDownSingDialer
func (SlowDownSingDialer) DialContext ¶
func (SlowDownSingDialer) ListenPacket ¶
func (d SlowDownSingDialer) ListenPacket(ctx context.Context, destination M.Socksaddr) (net.PacketConn, error)
Click to show internal directories.
Click to hide internal directories.