socks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 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 v1.0.0

func HandleSocks(conn net.Conn)

Types

type SockListener added in v0.10.0

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

func NewSocksProxy

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

func (*SockListener) Address added in v0.10.0

func (l *SockListener) Address() string

func (*SockListener) Close added in v0.10.0

func (l *SockListener) Close()

type SockUDPListener added in v0.16.0

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

func NewSocksUDPProxy added in v0.16.0

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

func (*SockUDPListener) Address added in v0.16.0

func (l *SockUDPListener) Address() string

func (*SockUDPListener) Close added in v0.16.0

func (l *SockUDPListener) Close() error

Jump to

Keyboard shortcuts

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