Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F12825184
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
491 B
Subscribers
None
View Options
diff --git a/writeas/tor.go b/writeas/tor.go
index 58ae824..6914315 100644
--- a/writeas/tor.go
+++ b/writeas/tor.go
@@ -1,17 +1,17 @@
package main
import (
"fmt"
- "github.com/hailiang/gosocks"
+ "h12.me/socks"
"net/http"
)
var (
torPort = 9150
)
func torClient() *http.Client {
dialSocksProxy := socks.DialSocksProxy(socks.SOCKS5, fmt.Sprintf("127.0.0.1:%d", torPort))
transport := &http.Transport{Dial: dialSocksProxy}
return &http.Client{Transport: transport}
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Dec 26, 4:47 AM (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3558720
Attached To
rWCLI writeas-cli
Event Timeline
Log In to Comment