socksinterface

package
v0.0.0-...-632c06c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SocksHandler

type SocksHandler struct {
	// contains filtered or unexported fields
}

func (SocksHandler) TCPHandle

func (so SocksHandler) TCPHandle(sr *socks5.Server, c *net.TCPConn, r *socks5.Request) error

func (SocksHandler) UDPHandle

func (s SocksHandler) UDPHandle(sr *socks5.Server, addr *net.UDPAddr, dg *socks5.Datagram) error

type UDPExchange

type UDPExchange struct {
	ClientAddr *net.UDPAddr
	RemoteConn net.PacketConn
	MsgCount   int64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL