socks

package
v0.0.0-...-280623b Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SockListener

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

func NewSocksProxy

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

func (*SockListener) Address

func (l *SockListener) Address() string

func (*SockListener) Close

func (l *SockListener) Close()

type SockUDPListener

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

func NewSocksUDPProxy

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

func (*SockUDPListener) Address

func (l *SockUDPListener) Address() string

func (*SockUDPListener) Close

func (l *SockUDPListener) Close() error

Jump to

Keyboard shortcuts

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