diff --git a/cmd/gost/cfg.go b/cmd/gost/cfg.go index 8b2912a..048852b 100644 --- a/cmd/gost/cfg.go +++ b/cmd/gost/cfg.go @@ -11,7 +11,7 @@ import ( "os" "strings" - "github.com/ginuerzh/gost" + "github.com/tongsq/gost" ) var ( diff --git a/cmd/gost/main.go b/cmd/gost/main.go index ce9184c..dde751b 100644 --- a/cmd/gost/main.go +++ b/cmd/gost/main.go @@ -11,8 +11,8 @@ import ( _ "net/http/pprof" - "github.com/ginuerzh/gost" "github.com/go-log/log" + "github.com/tongsq/gost" ) var ( diff --git a/cmd/gost/peer.go b/cmd/gost/peer.go index af062c7..a023ad2 100644 --- a/cmd/gost/peer.go +++ b/cmd/gost/peer.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "github.com/ginuerzh/gost" + "github.com/tongsq/gost" ) type peerConfig struct { diff --git a/cmd/gost/route.go b/cmd/gost/route.go index 9470041..413d74a 100644 --- a/cmd/gost/route.go +++ b/cmd/gost/route.go @@ -12,8 +12,8 @@ import ( "strings" "time" - "github.com/ginuerzh/gost" "github.com/go-log/log" + "github.com/tongsq/gost" ) type stringList []string diff --git a/examples/bench/cli.go b/examples/bench/cli.go index 57c189c..bc4f133 100644 --- a/examples/bench/cli.go +++ b/examples/bench/cli.go @@ -10,7 +10,7 @@ import ( "sync" "time" - "github.com/ginuerzh/gost" + "github.com/tongsq/gost" "golang.org/x/net/http2" ) diff --git a/examples/bench/srv.go b/examples/bench/srv.go index 36da8e4..d9c6d47 100644 --- a/examples/bench/srv.go +++ b/examples/bench/srv.go @@ -9,7 +9,7 @@ import ( "net/url" "time" - "github.com/ginuerzh/gost" + "github.com/tongsq/gost" "golang.org/x/net/http2" ) diff --git a/examples/forward/direct/client.go b/examples/forward/direct/client.go index c824b54..9ddfef5 100644 --- a/examples/forward/direct/client.go +++ b/examples/forward/direct/client.go @@ -3,7 +3,7 @@ package main import ( "log" - "github.com/ginuerzh/gost" + "github.com/tongsq/gost" ) func main() { diff --git a/examples/forward/direct/server.go b/examples/forward/direct/server.go index 20aca6d..bcb4ac8 100644 --- a/examples/forward/direct/server.go +++ b/examples/forward/direct/server.go @@ -4,7 +4,7 @@ import ( "crypto/tls" "log" - "github.com/ginuerzh/gost" + "github.com/tongsq/gost" ) func main() { diff --git a/examples/forward/remote/client.go b/examples/forward/remote/client.go index 68f1737..2e05020 100644 --- a/examples/forward/remote/client.go +++ b/examples/forward/remote/client.go @@ -3,7 +3,7 @@ package main import ( "log" - "github.com/ginuerzh/gost" + "github.com/tongsq/gost" ) func main() { diff --git a/examples/forward/remote/server.go b/examples/forward/remote/server.go index cc83aa8..f5ed5b8 100644 --- a/examples/forward/remote/server.go +++ b/examples/forward/remote/server.go @@ -4,7 +4,7 @@ import ( "crypto/tls" "log" - "github.com/ginuerzh/gost" + "github.com/tongsq/gost" ) func main() { diff --git a/examples/forward/udp/direct.go b/examples/forward/udp/direct.go index 79f9a35..1a9a097 100644 --- a/examples/forward/udp/direct.go +++ b/examples/forward/udp/direct.go @@ -5,7 +5,7 @@ import ( "log" "time" - "github.com/ginuerzh/gost" + "github.com/tongsq/gost" ) var ( @@ -37,20 +37,20 @@ func udpDirectForwardServer() { } h := gost.UDPDirectForwardHandler( faddr, - /* - gost.ChainHandlerOption(gost.NewChain(gost.Node{ - Protocol: "socks5", - Transport: "tcp", - Addr: ":11080", - User: url.UserPassword("admin", "123456"), - Client: &gost.Client{ - Connector: gost.SOCKS5Connector( - url.UserPassword("admin", "123456"), - ), - Transporter: gost.TCPTransporter(), - }, - })), - */ + /* + gost.ChainHandlerOption(gost.NewChain(gost.Node{ + Protocol: "socks5", + Transport: "tcp", + Addr: ":11080", + User: url.UserPassword("admin", "123456"), + Client: &gost.Client{ + Connector: gost.SOCKS5Connector( + url.UserPassword("admin", "123456"), + ), + Transporter: gost.TCPTransporter(), + }, + })), + */ ) s := &gost.Server{ln} log.Fatal(s.Serve(h)) diff --git a/examples/forward/udp/remote.go b/examples/forward/udp/remote.go index b0c4d50..0f8c9c1 100644 --- a/examples/forward/udp/remote.go +++ b/examples/forward/udp/remote.go @@ -5,7 +5,7 @@ import ( "log" "time" - "github.com/ginuerzh/gost" + "github.com/tongsq/gost" ) var ( diff --git a/examples/http2/http2.go b/examples/http2/http2.go index 369fdfe..5de66de 100644 --- a/examples/http2/http2.go +++ b/examples/http2/http2.go @@ -8,7 +8,7 @@ import ( "golang.org/x/net/http2" - "github.com/ginuerzh/gost" + "github.com/tongsq/gost" ) var ( diff --git a/examples/quic/quicc.go b/examples/quic/quicc.go index 119e9e6..af866e5 100644 --- a/examples/quic/quicc.go +++ b/examples/quic/quicc.go @@ -6,7 +6,7 @@ import ( "log" "time" - "github.com/ginuerzh/gost" + "github.com/tongsq/gost" ) var ( diff --git a/examples/quic/quics.go b/examples/quic/quics.go index 246995a..da01952 100644 --- a/examples/quic/quics.go +++ b/examples/quic/quics.go @@ -5,7 +5,7 @@ import ( "flag" "log" - "github.com/ginuerzh/gost" + "github.com/tongsq/gost" ) var ( diff --git a/examples/ssh/sshc.go b/examples/ssh/sshc.go index a90a026..47c97bd 100644 --- a/examples/ssh/sshc.go +++ b/examples/ssh/sshc.go @@ -6,7 +6,7 @@ import ( "log" "time" - "github.com/ginuerzh/gost" + "github.com/tongsq/gost" ) var ( diff --git a/examples/ssh/sshd.go b/examples/ssh/sshd.go index 72aa2f7..07aabdc 100644 --- a/examples/ssh/sshd.go +++ b/examples/ssh/sshd.go @@ -5,7 +5,7 @@ import ( "flag" "log" - "github.com/ginuerzh/gost" + "github.com/tongsq/gost" ) var (