socks5client

package
v0.3.1-beta Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSocks5Client

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

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