refactor common/util
This commit is contained in:
parent
5c5af49b0e
commit
a7fddd1d7c
@ -8,8 +8,8 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/go-gost/gost/v3/pkg/common/net/dialer"
|
"github.com/go-gost/gost/v3/pkg/common/net/dialer"
|
||||||
|
"github.com/go-gost/gost/v3/pkg/common/util/udp"
|
||||||
"github.com/go-gost/gost/v3/pkg/connector"
|
"github.com/go-gost/gost/v3/pkg/connector"
|
||||||
"github.com/go-gost/gost/v3/pkg/internal/util/udp"
|
|
||||||
"github.com/go-gost/gost/v3/pkg/logger"
|
"github.com/go-gost/gost/v3/pkg/logger"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -6,10 +6,10 @@ import (
|
|||||||
"net"
|
"net"
|
||||||
|
|
||||||
"github.com/go-gost/gosocks5"
|
"github.com/go-gost/gosocks5"
|
||||||
"github.com/go-gost/gost/v3/pkg/common/util/mux"
|
"github.com/go-gost/gost/v3/pkg/common/util/udp"
|
||||||
"github.com/go-gost/gost/v3/pkg/connector"
|
"github.com/go-gost/gost/v3/pkg/connector"
|
||||||
|
"github.com/go-gost/gost/v3/pkg/internal/util/mux"
|
||||||
"github.com/go-gost/gost/v3/pkg/internal/util/socks"
|
"github.com/go-gost/gost/v3/pkg/internal/util/socks"
|
||||||
"github.com/go-gost/gost/v3/pkg/internal/util/udp"
|
|
||||||
"github.com/go-gost/gost/v3/pkg/logger"
|
"github.com/go-gost/gost/v3/pkg/logger"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ import (
|
|||||||
"net"
|
"net"
|
||||||
|
|
||||||
"github.com/go-gost/gosocks5"
|
"github.com/go-gost/gosocks5"
|
||||||
"github.com/go-gost/gost/v3/pkg/common/util/mux"
|
"github.com/go-gost/gost/v3/pkg/internal/util/mux"
|
||||||
"github.com/go-gost/gost/v3/pkg/logger"
|
"github.com/go-gost/gost/v3/pkg/logger"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ import (
|
|||||||
|
|
||||||
"github.com/go-gost/gosocks5"
|
"github.com/go-gost/gosocks5"
|
||||||
netpkg "github.com/go-gost/gost/v3/pkg/common/net"
|
netpkg "github.com/go-gost/gost/v3/pkg/common/net"
|
||||||
"github.com/go-gost/gost/v3/pkg/common/util/mux"
|
"github.com/go-gost/gost/v3/pkg/internal/util/mux"
|
||||||
"github.com/go-gost/gost/v3/pkg/logger"
|
"github.com/go-gost/gost/v3/pkg/logger"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"net"
|
"net"
|
||||||
|
|
||||||
"github.com/go-gost/gost/v3/pkg/common/metrics"
|
"github.com/go-gost/gost/v3/pkg/common/metrics"
|
||||||
"github.com/go-gost/gost/v3/pkg/internal/util/udp"
|
"github.com/go-gost/gost/v3/pkg/common/util/udp"
|
||||||
"github.com/go-gost/gost/v3/pkg/listener"
|
"github.com/go-gost/gost/v3/pkg/listener"
|
||||||
"github.com/go-gost/gost/v3/pkg/logger"
|
"github.com/go-gost/gost/v3/pkg/logger"
|
||||||
md "github.com/go-gost/gost/v3/pkg/metadata"
|
md "github.com/go-gost/gost/v3/pkg/metadata"
|
||||||
|
Loading…
Reference in New Issue
Block a user