socks

package
v0.0.0-...-d1f8a93 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2018 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SocksClient

type SocksClient struct {
	icommon.TunnelInterfaceClient
	// contains filtered or unexported fields
}

func GetSocksClient

func GetSocksClient(url, surl string, tun_dialer tcommon.TunnelDialer) *SocksClient

func (SocksClient) Close

func (t SocksClient) Close()

func (SocksClient) HandleConnection

func (t SocksClient) HandleConnection(conn net.Conn, tconn net.Conn) error

func (SocksClient) WaitingForConnection

func (t SocksClient) WaitingForConnection()

type SocksServer

type SocksServer struct {
	icommon.TunnelInterfaceServer
	// contains filtered or unexported fields
}

func GetSocksServer

func GetSocksServer() SocksServer

func (SocksServer) HandleConnection

func (s SocksServer) HandleConnection(conn net.Conn) error

Jump to

Keyboard shortcuts

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