socks

package
v0.0.0-...-1af0dc4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildTcp

func BuildTcp(conn net.Conn) (err error)

func FasthttpSocksDialer

func FasthttpSocksDialer(proxyAddr string) fasthttp.DialFunc

func RequestToProxyServer

func RequestToProxyServer(conn net.Conn, reqIp string, reqPort int) (err error)

Types

type SocksAuth

type SocksAuth struct {
	Username string
	Password string
}

Jump to

Keyboard shortcuts

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