update namespace

This commit is contained in:
tongsq 2024-10-17 18:26:19 +08:00
parent bece31e0bb
commit 087b05ae3f
17 changed files with 31 additions and 31 deletions

View File

@ -11,7 +11,7 @@ import (
"os"
"strings"
"github.com/ginuerzh/gost"
"github.com/tongsq/gost"
)
var (

View File

@ -11,8 +11,8 @@ import (
_ "net/http/pprof"
"github.com/ginuerzh/gost"
"github.com/go-log/log"
"github.com/tongsq/gost"
)
var (

View File

@ -9,7 +9,7 @@ import (
"strings"
"time"
"github.com/ginuerzh/gost"
"github.com/tongsq/gost"
)
type peerConfig struct {

View File

@ -12,8 +12,8 @@ import (
"strings"
"time"
"github.com/ginuerzh/gost"
"github.com/go-log/log"
"github.com/tongsq/gost"
)
type stringList []string

View File

@ -10,7 +10,7 @@ import (
"sync"
"time"
"github.com/ginuerzh/gost"
"github.com/tongsq/gost"
"golang.org/x/net/http2"
)

View File

@ -9,7 +9,7 @@ import (
"net/url"
"time"
"github.com/ginuerzh/gost"
"github.com/tongsq/gost"
"golang.org/x/net/http2"
)

View File

@ -3,7 +3,7 @@ package main
import (
"log"
"github.com/ginuerzh/gost"
"github.com/tongsq/gost"
)
func main() {

View File

@ -4,7 +4,7 @@ import (
"crypto/tls"
"log"
"github.com/ginuerzh/gost"
"github.com/tongsq/gost"
)
func main() {

View File

@ -3,7 +3,7 @@ package main
import (
"log"
"github.com/ginuerzh/gost"
"github.com/tongsq/gost"
)
func main() {

View File

@ -4,7 +4,7 @@ import (
"crypto/tls"
"log"
"github.com/ginuerzh/gost"
"github.com/tongsq/gost"
)
func main() {

View File

@ -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))

View File

@ -5,7 +5,7 @@ import (
"log"
"time"
"github.com/ginuerzh/gost"
"github.com/tongsq/gost"
)
var (

View File

@ -8,7 +8,7 @@ import (
"golang.org/x/net/http2"
"github.com/ginuerzh/gost"
"github.com/tongsq/gost"
)
var (

View File

@ -6,7 +6,7 @@ import (
"log"
"time"
"github.com/ginuerzh/gost"
"github.com/tongsq/gost"
)
var (

View File

@ -5,7 +5,7 @@ import (
"flag"
"log"
"github.com/ginuerzh/gost"
"github.com/tongsq/gost"
)
var (

View File

@ -6,7 +6,7 @@ import (
"log"
"time"
"github.com/ginuerzh/gost"
"github.com/tongsq/gost"
)
var (

View File

@ -5,7 +5,7 @@ import (
"flag"
"log"
"github.com/ginuerzh/gost"
"github.com/tongsq/gost"
)
var (