client

package
v0.3.1-beta.5 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(host, port, user, password string) proxy.Proxy

func NewSocks5

func NewSocks5(config *node.PointProtocol_Socks5) node.WrapProxy

NewSocks5 returns a new Socks5 client

func ParseAddr

func ParseAddr(hostname proxy.Address) []byte

func ParseAddrWriter

func ParseAddrWriter(addr proxy.Address, buf io.Writer)

func ResolveAddr

func ResolveAddr(network string, r io.Reader) (_ proxy.Address, size int, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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