socks

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleSocks added in v0.20.1

func HandleSocks(conn net.Conn)

Types

type SockListener added in v0.20.1

type SockListener struct {
	net.Listener
	// contains filtered or unexported fields
}

func NewSocksProxy

func NewSocksProxy(addr string) (*SockListener, error)

func (*SockListener) Address added in v0.20.1

func (l *SockListener) Address() string

func (*SockListener) Close added in v0.20.1

func (l *SockListener) Close()

type SockUDPListener added in v0.20.1

type SockUDPListener struct {
	net.PacketConn
	// contains filtered or unexported fields
}

func NewSocksUDPProxy added in v0.20.1

func NewSocksUDPProxy(addr string) (*SockUDPListener, error)

func (*SockUDPListener) Address added in v0.20.1

func (l *SockUDPListener) Address() string

func (*SockUDPListener) Close added in v0.20.1

func (l *SockUDPListener) Close() error

Jump to

Keyboard shortcuts

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