client

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(cfg *client.Config) (*Client, error)

func (*Client) Run

func (c *Client) Run()

type Socks added in v0.6.0

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

func NewSocks added in v0.6.0

func NewSocks(conn net.Conn) (socks *Socks, err error)

func (*Socks) Close added in v0.6.0

func (s *Socks) Close() error

func (*Socks) Handshake added in v0.6.0

func (s *Socks) Handshake(respType libsocks.ResponseType) error

func (*Socks) Read added in v0.6.0

func (s *Socks) Read(p []byte) (n int, err error)

func (*Socks) Target added in v0.6.0

func (s *Socks) Target() []byte

func (*Socks) Write added in v0.6.0

func (s *Socks) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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