Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F13777137
tor.go
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
270 B
Subscribers
None
tor.go
View Options
package
main
import
(
"github.com/hailiang/gosocks"
"net/http"
)
func
torClient
()
*
http
.
Client
{
dialSocksProxy
:=
socks
.
DialSocksProxy
(
socks
.
SOCKS5
,
"127.0.0.1:9150"
)
transport
:=
&
http
.
Transport
{
Dial
:
dialSocksProxy
}
return
&
http
.
Client
{
Transport
:
transport
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 28, 9:49 PM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3606866
Attached To
rWCLI writeas-cli
Event Timeline
Log In to Comment