How can I securely connect to the SOCKS5 proxy server, there is a code to connect normal http proxy servers:
proxyUrl, err := url.Parse(proxyS) httpClient := &http.Client{ Transport: &http.Transport{Proxy: http.ProxyURL(proxyUrl)}, } For SOCKS5 code examples are not found.