Bug#959511: ITP: golang-h12-socks -- SOCKS (SOCKS4, SOCKS4A and SOCKS5) proxy library for golang
Package: wnpp
Severity: wishlist
Owner: Roger Shimizu <rosh@debian.org>
* Package name : golang-h12-socks
Version : 1.0.0-1
Upstream Author : Hǎi-Liàng "Hal" Wáng
* URL : https://github.com/h12w/socks
* License : BSD-2-clause
Programming Lang: Go
Description : SOCKS (SOCKS4, SOCKS4A and SOCKS5) proxy library for golang
SOCKS GoDoc (https://godoc.org/h12.io/socks)
.
SOCKS is a SOCKS4, SOCKS4A and SOCKS5 proxy package for Go. Quick
StartGet the packagego get -u "h12.io/socks" Import the packageimport
"h12.io/socks" Create a SOCKS proxy dialing functiondialSocksProxy
:= socks.Dial("socks5://127.0.0.1:1080?timeout=5s") tr
:= &http.Transport{Dial: dialSocksProxy} httpClient :=
&http.Client{Transport: tr} Example ```go package main
This is dependecny of another package, v2ray (ITP: #908921).
Reply to: