client

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Socks5Client

type Socks5Client struct {
	Addr string
	// contains filtered or unexported fields
}

func NewSocks5Client

func NewSocks5Client(addr string) *Socks5Client

func (*Socks5Client) Close

func (c *Socks5Client) Close() (err error)

func (*Socks5Client) Dial

func (c *Socks5Client) Dial(ctx context.Context, addr string) (transport.Conn, error)

func (*Socks5Client) DialUDP

func (c *Socks5Client) DialUDP(ctx context.Context, addr string) (transport.Conn, error)

func (*Socks5Client) SetSocksAuth

func (c *Socks5Client) SetSocksAuth(username, password string)

Jump to

Keyboard shortcuts

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