Page MenuHomeMusing Studio

No OneTemporary

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

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

Event Timeline