Documentation
¶
Overview ¶
Package proxyutils validates proxy URLs and probes proxies to find one that accepts connections.
Index ¶
Constants ¶
const ( SOCKS5 = "socks5" HTTP = "http" HTTPS = "https" )
Variables ¶
var ProxyProbeConcurrency = 8
ProxyProbeConcurrency (default 8)
Functions ¶
func GetAnyAliveProxy ¶
GetAnyAliveProxy takes proxies as input and returns the first alive proxy or returns error if all of them not alive
func GetProxyURL ¶
GetProxyURL returns a Proxy URL after validating if given proxy url is valid
func ValidateOne ¶
ValidateOne returns the first valid proxy from a list of proxies by setting up a test connection with scanme.sh
Types ¶
This section is empty.