client

package
v0.3.1-beta.2 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: MIT Imports: 12 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 string) (data []byte, err error)

func ParseAddrWriter

func ParseAddrWriter(hostname string, sendData io.Writer) (err error)

func ResolveAddr

func ResolveAddr(raw []byte) (dst string, port, size int, err error)

func ResolveAddrReader

func ResolveAddrReader(r io.Reader) (hostname string, port, 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