proxy

package
v0.1.32 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddrIsNULL = errors.New("ip and port cannot be empty")

Functions

func HttpProxy

func HttpProxy(proxyAddr, addr string, timeout time.Duration) (net.Conn, error)

func Socks5Proxy

func Socks5Proxy(proxyAddr string, addr string) (net.Conn, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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