fix imports

This commit is contained in:
ginuerzh
2022-03-16 20:06:34 +08:00
parent 506142fd0b
commit 36947bcbd9
126 changed files with 324 additions and 335 deletions

View File

@ -12,10 +12,10 @@ import (
"net/url"
"time"
"github.com/go-gost/gost/v3/pkg/connector"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/connector"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
)
func init() {

View File

@ -3,7 +3,7 @@ package http2
import (
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
const (

View File

@ -6,9 +6,9 @@ import (
"net"
"strconv"
"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/logger"
"github.com/go-gost/core/common/util/udp"
"github.com/go-gost/core/connector"
"github.com/go-gost/core/logger"
"github.com/go-gost/relay"
"github.com/go-gost/x/internal/util/mux"
relay_util "github.com/go-gost/x/internal/util/relay"

View File

@ -6,9 +6,9 @@ import (
"net"
"time"
"github.com/go-gost/gost/v3/pkg/connector"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/connector"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
"github.com/go-gost/relay"
relay_util "github.com/go-gost/x/internal/util/relay"
)

View File

@ -5,7 +5,7 @@ import (
"net"
"strconv"
"github.com/go-gost/gost/v3/pkg/logger"
"github.com/go-gost/core/logger"
"github.com/go-gost/relay"
"github.com/go-gost/x/internal/util/mux"
)

View File

@ -3,7 +3,7 @@ package relay
import (
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -4,9 +4,9 @@ import (
"context"
"net"
"github.com/go-gost/gost/v3/pkg/connector"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/connector"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
)
func init() {

View File

@ -3,7 +3,7 @@ package sni
import (
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -6,11 +6,11 @@ import (
"net"
"time"
"github.com/go-gost/core/common/bufpool"
"github.com/go-gost/core/connector"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
"github.com/go-gost/gosocks5"
"github.com/go-gost/gost/v3/pkg/common/bufpool"
"github.com/go-gost/gost/v3/pkg/connector"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/x/internal/util/ss"
"github.com/shadowsocks/go-shadowsocks2/core"
)

View File

@ -3,7 +3,7 @@ package ss
import (
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -6,9 +6,9 @@ import (
"net"
"time"
"github.com/go-gost/gost/v3/pkg/connector"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/connector"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
"github.com/go-gost/x/internal/util/relay"
"github.com/go-gost/x/internal/util/ss"
"github.com/shadowsocks/go-shadowsocks2/core"

View File

@ -4,7 +4,7 @@ import (
"math"
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -5,9 +5,9 @@ import (
"errors"
"net"
"github.com/go-gost/gost/v3/pkg/connector"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/connector"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
ssh_util "github.com/go-gost/x/internal/util/ssh"
)

View File

@ -4,10 +4,10 @@ import (
"context"
"net"
"github.com/go-gost/gost/v3/pkg/dialer"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/dialer"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
"github.com/xtaci/tcpraw"
)

View File

@ -3,7 +3,7 @@ package ftcp
import (
"time"
md "github.com/go-gost/gost/v3/pkg/metadata"
md "github.com/go-gost/core/metadata"
)
const (

View File

@ -6,9 +6,9 @@ import (
"sync"
"time"
"github.com/go-gost/gost/v3/pkg/dialer"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/dialer"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
pb "github.com/go-gost/x/internal/util/grpc/proto"
"google.golang.org/grpc"
"google.golang.org/grpc/backoff"

View File

@ -1,7 +1,7 @@
package grpc
import (
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -5,7 +5,7 @@ import (
"net"
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
// a dummy HTTP2 client conn used by HTTP2 client connector

View File

@ -7,11 +7,11 @@ import (
"sync"
"time"
net_dialer "github.com/go-gost/gost/v3/pkg/common/net/dialer"
"github.com/go-gost/gost/v3/pkg/dialer"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
net_dialer "github.com/go-gost/core/common/net/dialer"
"github.com/go-gost/core/dialer"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
)
func init() {

View File

@ -12,10 +12,10 @@ import (
"sync"
"time"
"github.com/go-gost/gost/v3/pkg/dialer"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/dialer"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
"golang.org/x/net/http2"
)

View File

@ -1,7 +1,7 @@
package h2
import (
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -1,7 +1,7 @@
package http2
import (
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -7,9 +7,9 @@ import (
"net/http"
"sync"
"github.com/go-gost/gost/v3/pkg/dialer"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/dialer"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
pht_util "github.com/go-gost/x/internal/util/pht"
"github.com/lucas-clemente/quic-go"
"github.com/lucas-clemente/quic-go/http3"

View File

@ -4,7 +4,7 @@ import (
"strings"
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
const (

View File

@ -8,10 +8,10 @@ import (
"sync"
"time"
"github.com/go-gost/gost/v3/pkg/dialer"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/dialer"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
icmp_pkg "github.com/go-gost/x/internal/util/icmp"
"github.com/lucas-clemente/quic-go"
"golang.org/x/net/icmp"

View File

@ -3,7 +3,7 @@ package quic
import (
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -7,10 +7,10 @@ import (
"sync"
"time"
"github.com/go-gost/gost/v3/pkg/dialer"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/dialer"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
kcp_util "github.com/go-gost/x/internal/util/kcp"
"github.com/xtaci/kcp-go/v5"
"github.com/xtaci/smux"

View File

@ -4,7 +4,7 @@ import (
"encoding/json"
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
kcp_util "github.com/go-gost/x/internal/util/kcp"
)

View File

@ -8,10 +8,10 @@ import (
"sync"
"time"
"github.com/go-gost/gost/v3/pkg/dialer"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/dialer"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
"github.com/xtaci/smux"
)

View File

@ -3,7 +3,7 @@ package mtls
import (
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -8,9 +8,9 @@ import (
"sync"
"time"
"github.com/go-gost/gost/v3/pkg/dialer"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/dialer"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
ws_util "github.com/go-gost/x/internal/util/ws"
"github.com/gorilla/websocket"
"github.com/xtaci/smux"

View File

@ -4,7 +4,7 @@ import (
"net/http"
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
const (

View File

@ -12,7 +12,7 @@ import (
"net/url"
"sync"
"github.com/go-gost/gost/v3/pkg/logger"
"github.com/go-gost/core/logger"
)
type obfsHTTPConn struct {

View File

@ -4,10 +4,10 @@ import (
"context"
"net"
"github.com/go-gost/gost/v3/pkg/dialer"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/dialer"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
)
func init() {

View File

@ -3,7 +3,7 @@ package http
import (
"net/http"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -4,10 +4,10 @@ import (
"context"
"net"
"github.com/go-gost/gost/v3/pkg/dialer"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/dialer"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
)
func init() {

View File

@ -1,7 +1,7 @@
package tls
import (
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -7,10 +7,10 @@ import (
"sync"
"time"
"github.com/go-gost/gost/v3/pkg/dialer"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/dialer"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
pht_util "github.com/go-gost/x/internal/util/pht"
)

View File

@ -4,7 +4,7 @@ import (
"strings"
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
const (

View File

@ -6,10 +6,10 @@ import (
"net"
"sync"
"github.com/go-gost/gost/v3/pkg/dialer"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/dialer"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
quic_util "github.com/go-gost/x/internal/util/quic"
"github.com/lucas-clemente/quic-go"
)

View File

@ -3,7 +3,7 @@ package quic
import (
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -7,10 +7,10 @@ import (
"sync"
"time"
"github.com/go-gost/gost/v3/pkg/dialer"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/dialer"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
ssh_util "github.com/go-gost/x/internal/util/ssh"
"golang.org/x/crypto/ssh"
)

View File

@ -6,7 +6,7 @@ import (
"strings"
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
"golang.org/x/crypto/ssh"
)

View File

@ -7,9 +7,9 @@ import (
"sync"
"time"
"github.com/go-gost/gost/v3/pkg/dialer"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/dialer"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
ssh_util "github.com/go-gost/x/internal/util/ssh"
"golang.org/x/crypto/ssh"
)

View File

@ -4,7 +4,7 @@ import (
"io/ioutil"
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
"golang.org/x/crypto/ssh"
)

View File

@ -6,9 +6,9 @@ import (
"net/url"
"time"
"github.com/go-gost/gost/v3/pkg/dialer"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/dialer"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
ws_util "github.com/go-gost/x/internal/util/ws"
"github.com/gorilla/websocket"
)

View File

@ -4,7 +4,7 @@ import (
"net/http"
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
const (

8
go.mod
View File

@ -5,10 +5,9 @@ go 1.18
require (
github.com/LiamHaworth/go-tproxy v0.0.0-20190726054950-ef7efd7f24ed
github.com/docker/libcontainer v2.2.1+incompatible
github.com/go-gost/core v0.0.0-20220316114029-7db81fcfeb66
github.com/go-gost/gosocks5 v0.3.1-0.20211109033403-d894d75b7f09
github.com/go-gost/gost v0.0.0-20220312160816-bfc1f8472cc2
github.com/go-gost/gost/v3 v3.0.0-alpha.3.0.20220315024338-20e7528b2588
github.com/go-gost/metrics v0.0.0-20220314135054-2263ae431a5f
github.com/go-gost/metrics v0.0.0-20220316114656-e95ab1c62ea8
github.com/go-gost/relay v0.1.1-0.20211123134818-8ef7fd81ffd7
github.com/go-gost/tls-dissector v0.0.2-0.20211125135007-2b5d5bd9c07e
github.com/golang/snappy v0.0.4
@ -61,11 +60,10 @@ require (
github.com/templexxx/xorsimd v0.4.1 // indirect
github.com/tjfoc/gmsm v1.3.2 // indirect
golang.org/x/mod v0.5.1 // indirect
golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5 // indirect
golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86 // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/tools v0.1.9 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)

23
go.sum
View File

@ -104,20 +104,12 @@ github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
github.com/go-gost/core v0.0.0-20220316114029-7db81fcfeb66 h1:c2xJRqXxys5FSi66dK5xSxuz8IeoYy2N+uOPse4OooE=
github.com/go-gost/core v0.0.0-20220316114029-7db81fcfeb66/go.mod h1:WyaY3XWXX0SHgao6DP8/YnSnzyMTJEWdyzegDWNSQFY=
github.com/go-gost/gosocks5 v0.3.1-0.20211109033403-d894d75b7f09 h1:A95M6UWcfZgOuJkQ7QLfG0Hs5peWIUSysCDNz4pfe04=
github.com/go-gost/gosocks5 v0.3.1-0.20211109033403-d894d75b7f09/go.mod h1:1G6I7HP7VFVxveGkoK8mnprnJqSqJjdcASKsdUn4Pp4=
github.com/go-gost/gost v0.0.0-20220312160816-bfc1f8472cc2 h1:yTxlvQ99SsSylNHv7A7v739k0gKbW9sqquXPlJX/EGE=
github.com/go-gost/gost v0.0.0-20220312160816-bfc1f8472cc2/go.mod h1:d7OMWKlZWgWarOEqYEsicSOjplSPMpoOpC8wCqMkBjI=
github.com/go-gost/gost/v3 v3.0.0-alpha.3.0.20220314122048-c282e69ffdc6 h1:epQ9Sv+Y6mhqTS/IKKOBQgIIw6JBbbet7ZmdH/8bgfM=
github.com/go-gost/gost/v3 v3.0.0-alpha.3.0.20220314122048-c282e69ffdc6/go.mod h1:Hv/IAKyc+9uEGQT5DPWsnqgAFEp4Or7uOxFawr6ghjM=
github.com/go-gost/gost/v3 v3.0.0-alpha.3.0.20220314141206-42f72adde0ee h1:p+KM6ZUggiPnxa9l9lP+bsGjO52smX73wPeHlf5xR+E=
github.com/go-gost/gost/v3 v3.0.0-alpha.3.0.20220314141206-42f72adde0ee/go.mod h1:hq4/YM+Vki2ODyhMCk59IwvFJks1sAYhHGnivz+6Ono=
github.com/go-gost/gost/v3 v3.0.0-alpha.3.0.20220315022357-2e40afe53584 h1:TfVYWYW0Oyg5ojvWFVO/Vux6Ht9wt7x1HDOv09nsS1Q=
github.com/go-gost/gost/v3 v3.0.0-alpha.3.0.20220315022357-2e40afe53584/go.mod h1:S4iyROMDN6+OvvrALvHyoV/lBswp7ExC1DS5go7woLM=
github.com/go-gost/gost/v3 v3.0.0-alpha.3.0.20220315024338-20e7528b2588 h1:2RxUmbtz1Rz0qfzxmmfGqo61EhnY4L908LFW4nTQT1I=
github.com/go-gost/gost/v3 v3.0.0-alpha.3.0.20220315024338-20e7528b2588/go.mod h1:S4iyROMDN6+OvvrALvHyoV/lBswp7ExC1DS5go7woLM=
github.com/go-gost/metrics v0.0.0-20220314135054-2263ae431a5f h1:gNquUvOvPXUpq4Xk7ed7motbVN5t0HMqImf96k+pzlU=
github.com/go-gost/metrics v0.0.0-20220314135054-2263ae431a5f/go.mod h1:Ac2Pigx5GMJEznkP9wLdBJ36+rYwWiJPqWk7lrg3FKg=
github.com/go-gost/metrics v0.0.0-20220316114656-e95ab1c62ea8 h1:X9PolYxy/7rSWY+AFP75rdfXoLlNdFemjL9/RduuuVA=
github.com/go-gost/metrics v0.0.0-20220316114656-e95ab1c62ea8/go.mod h1:Ac2Pigx5GMJEznkP9wLdBJ36+rYwWiJPqWk7lrg3FKg=
github.com/go-gost/relay v0.1.1-0.20211123134818-8ef7fd81ffd7 h1:itaaJhQJ19kUXEB4Igb0EbY8m+1Py2AaNNSBds/9gk4=
github.com/go-gost/relay v0.1.1-0.20211123134818-8ef7fd81ffd7/go.mod h1:lcX+23LCQ3khIeASBo+tJ/WbwXFO32/N5YN6ucuYTG8=
github.com/go-gost/tls-dissector v0.0.2-0.20211125135007-2b5d5bd9c07e h1:73NGqAs22ey3wJkIYVD/ACEoovuIuOlEzQTEoqrO5+U=
@ -177,8 +169,8 @@ github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ=
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
@ -554,8 +546,8 @@ golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5 h1:y/woIyUBFbpQGKS0u1aHF/40WUDnek3fPOyD08H5Vng=
golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86 h1:A9i04dxx7Cribqbs8jf3FQLogkL/CV2YN7hj9KWJCkc=
golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY=
@ -742,7 +734,6 @@ gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
grpc.go4.org v0.0.0-20170609214715-11d0a25b4919/go.mod h1:77eQGdRu53HpSqPFJFmuJdjuHRquDANNeA4x7B8WQ9o=
honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=

View File

@ -10,15 +10,15 @@ import (
"strings"
"time"
"github.com/go-gost/gost/v3/pkg/chain"
"github.com/go-gost/gost/v3/pkg/common/bufpool"
resolver_util "github.com/go-gost/gost/v3/pkg/common/util/resolver"
"github.com/go-gost/gost/v3/pkg/handler"
"github.com/go-gost/gost/v3/pkg/hosts"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/gost/v3/pkg/resolver/exchanger"
"github.com/go-gost/core/chain"
"github.com/go-gost/core/common/bufpool"
resolver_util "github.com/go-gost/core/common/util/resolver"
"github.com/go-gost/core/handler"
"github.com/go-gost/core/hosts"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
"github.com/go-gost/core/resolver/exchanger"
"github.com/miekg/dns"
)

View File

@ -4,7 +4,7 @@ import (
"net"
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -18,12 +18,12 @@ import (
"strings"
"time"
"github.com/go-gost/gost/v3/pkg/chain"
netpkg "github.com/go-gost/gost/v3/pkg/common/net"
"github.com/go-gost/gost/v3/pkg/handler"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/chain"
netpkg "github.com/go-gost/core/common/net"
"github.com/go-gost/core/handler"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
)
func init() {

View File

@ -4,7 +4,7 @@ import (
"net/http"
"strings"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -6,11 +6,11 @@ import (
"net"
"time"
"github.com/go-gost/gost/v3/pkg/chain"
netpkg "github.com/go-gost/gost/v3/pkg/common/net"
"github.com/go-gost/gost/v3/pkg/handler"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/chain"
netpkg "github.com/go-gost/core/common/net"
"github.com/go-gost/core/handler"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
)
func init() {

View File

@ -1,7 +1,7 @@
package redirect
import (
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -6,9 +6,9 @@ import (
"net"
"time"
netpkg "github.com/go-gost/gost/v3/pkg/common/net"
net_relay "github.com/go-gost/gost/v3/pkg/common/net/relay"
"github.com/go-gost/gost/v3/pkg/logger"
netpkg "github.com/go-gost/core/common/net"
net_relay "github.com/go-gost/core/common/net/relay"
"github.com/go-gost/core/logger"
"github.com/go-gost/relay"
"github.com/go-gost/x/internal/util/mux"
relay_util "github.com/go-gost/x/internal/util/relay"

View File

@ -7,8 +7,8 @@ import (
"net"
"time"
netpkg "github.com/go-gost/gost/v3/pkg/common/net"
"github.com/go-gost/gost/v3/pkg/logger"
netpkg "github.com/go-gost/core/common/net"
"github.com/go-gost/core/logger"
"github.com/go-gost/relay"
)

View File

@ -7,8 +7,8 @@ import (
"net"
"time"
netpkg "github.com/go-gost/gost/v3/pkg/common/net"
"github.com/go-gost/gost/v3/pkg/logger"
netpkg "github.com/go-gost/core/common/net"
"github.com/go-gost/core/logger"
"github.com/go-gost/relay"
)

View File

@ -7,10 +7,10 @@ import (
"strconv"
"time"
"github.com/go-gost/gost/v3/pkg/chain"
"github.com/go-gost/gost/v3/pkg/handler"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/chain"
"github.com/go-gost/core/handler"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
"github.com/go-gost/relay"
)

View File

@ -4,7 +4,7 @@ import (
"math"
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -11,12 +11,12 @@ import (
"net"
"time"
"github.com/go-gost/gost/v3/pkg/chain"
"github.com/go-gost/gost/v3/pkg/common/bufpool"
netpkg "github.com/go-gost/gost/v3/pkg/common/net"
"github.com/go-gost/gost/v3/pkg/handler"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/chain"
"github.com/go-gost/core/common/bufpool"
netpkg "github.com/go-gost/core/common/net"
"github.com/go-gost/core/handler"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
dissector "github.com/go-gost/tls-dissector"
)

View File

@ -3,7 +3,7 @@ package sni
import (
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -7,12 +7,12 @@ import (
"net"
"time"
"github.com/go-gost/core/chain"
netpkg "github.com/go-gost/core/common/net"
"github.com/go-gost/core/handler"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
"github.com/go-gost/gosocks5"
"github.com/go-gost/gost/v3/pkg/chain"
netpkg "github.com/go-gost/gost/v3/pkg/common/net"
"github.com/go-gost/gost/v3/pkg/handler"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/x/internal/util/ss"
"github.com/shadowsocks/go-shadowsocks2/core"
)

View File

@ -3,7 +3,7 @@ package ss
import (
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -6,12 +6,12 @@ import (
"net"
"time"
"github.com/go-gost/gost/v3/pkg/chain"
"github.com/go-gost/gost/v3/pkg/common/bufpool"
"github.com/go-gost/gost/v3/pkg/handler"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/chain"
"github.com/go-gost/core/common/bufpool"
"github.com/go-gost/core/handler"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
"github.com/go-gost/x/internal/util/relay"
"github.com/go-gost/x/internal/util/ss"
"github.com/shadowsocks/go-shadowsocks2/core"

View File

@ -4,7 +4,7 @@ import (
"math"
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -9,12 +9,12 @@ import (
"strconv"
"time"
"github.com/go-gost/gost/v3/pkg/chain"
netpkg "github.com/go-gost/gost/v3/pkg/common/net"
"github.com/go-gost/gost/v3/pkg/handler"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/chain"
netpkg "github.com/go-gost/core/common/net"
"github.com/go-gost/core/handler"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
sshd_util "github.com/go-gost/x/internal/util/sshd"
"golang.org/x/crypto/ssh"
)

View File

@ -1,7 +1,7 @@
package ssh
import (
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -10,12 +10,12 @@ import (
"sync"
"time"
"github.com/go-gost/gost/v3/pkg/chain"
"github.com/go-gost/gost/v3/pkg/common/bufpool"
"github.com/go-gost/gost/v3/pkg/handler"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/chain"
"github.com/go-gost/core/common/bufpool"
"github.com/go-gost/core/handler"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
"github.com/go-gost/x/internal/util/ss"
tap_util "github.com/go-gost/x/internal/util/tap"
"github.com/shadowsocks/go-shadowsocks2/core"

View File

@ -1,7 +1,7 @@
package tap
import (
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -10,12 +10,12 @@ import (
"sync"
"time"
"github.com/go-gost/gost/v3/pkg/chain"
"github.com/go-gost/gost/v3/pkg/common/bufpool"
"github.com/go-gost/gost/v3/pkg/handler"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/chain"
"github.com/go-gost/core/common/bufpool"
"github.com/go-gost/core/handler"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
"github.com/go-gost/x/internal/util/ss"
tun_util "github.com/go-gost/x/internal/util/tun"
"github.com/shadowsocks/go-shadowsocks2/core"

View File

@ -1,7 +1,7 @@
package tun
import (
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -1,5 +1,5 @@
syntax = "proto3";
option go_package = "github.com/go-gost/gost/v3/pkg/common/util/grpc/proto";
option go_package = "github.com/go-gost/core/common/util/grpc/proto";
message Chunk {
bytes data = 1;

View File

@ -8,8 +8,8 @@ import (
"net"
"sync/atomic"
"github.com/go-gost/gost/v3/pkg/common/bufpool"
"github.com/go-gost/gost/v3/pkg/logger"
"github.com/go-gost/core/common/bufpool"
"github.com/go-gost/core/logger"
"golang.org/x/net/icmp"
"golang.org/x/net/ipv4"
)

View File

@ -11,7 +11,7 @@ import (
"strconv"
"strings"
"github.com/go-gost/gost/v3/pkg/logger"
"github.com/go-gost/core/logger"
)
type Client struct {

View File

@ -10,7 +10,7 @@ import (
"net/http/httputil"
"time"
"github.com/go-gost/gost/v3/pkg/logger"
"github.com/go-gost/core/logger"
)
type clientConn struct {

View File

@ -14,8 +14,8 @@ import (
"sync"
"time"
"github.com/go-gost/gost/v3/pkg/common/bufpool"
"github.com/go-gost/gost/v3/pkg/logger"
"github.com/go-gost/core/common/bufpool"
"github.com/go-gost/core/logger"
"github.com/lucas-clemente/quic-go"
"github.com/lucas-clemente/quic-go/http3"
"github.com/rs/xid"

View File

@ -4,8 +4,8 @@ import (
"bytes"
"net"
"github.com/go-gost/core/common/bufpool"
"github.com/go-gost/gosocks5"
"github.com/go-gost/gost/v3/pkg/common/bufpool"
)
type udpTunConn struct {

View File

@ -4,8 +4,8 @@ import (
"bytes"
"net"
"github.com/go-gost/core/common/bufpool"
"github.com/go-gost/gosocks5"
"github.com/go-gost/gost/v3/pkg/common/bufpool"
)
var (

View File

@ -5,7 +5,7 @@ import (
"fmt"
"io/ioutil"
"github.com/go-gost/gost/v3/pkg/auth"
"github.com/go-gost/core/auth"
"golang.org/x/crypto/ssh"
)

View File

@ -9,10 +9,10 @@ import (
"net/http"
"strings"
"github.com/go-gost/gost/v3/pkg/listener"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/listener"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
metrics "github.com/go-gost/metrics/wrapper"
"github.com/miekg/dns"
)

View File

@ -3,7 +3,7 @@ package dns
import (
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
const (

View File

@ -5,10 +5,10 @@ import (
"sync"
"sync/atomic"
"github.com/go-gost/gost/v3/pkg/listener"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/listener"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
metrics "github.com/go-gost/metrics/wrapper"
"github.com/xtaci/tcpraw"
)

View File

@ -3,11 +3,11 @@ package grpc
import (
"net"
admission "github.com/go-gost/gost/v3/pkg/admission/wrapper"
"github.com/go-gost/gost/v3/pkg/listener"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
admission "github.com/go-gost/core/admission/wrapper"
"github.com/go-gost/core/listener"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
metrics "github.com/go-gost/metrics/wrapper"
pb "github.com/go-gost/x/internal/util/grpc/proto"
"google.golang.org/grpc"

View File

@ -1,7 +1,7 @@
package grpc
import (
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
const (

View File

@ -6,7 +6,7 @@ import (
"net"
"time"
"github.com/go-gost/gost/v3/pkg/logger"
"github.com/go-gost/core/logger"
pb "github.com/go-gost/x/internal/util/grpc/proto"
"google.golang.org/grpc/peer"
)

View File

@ -6,7 +6,7 @@ import (
"net/http"
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
// a dummy HTTP2 server conn used by HTTP2 handler

View File

@ -7,11 +7,11 @@ import (
"net/http"
"net/http/httputil"
admission "github.com/go-gost/gost/v3/pkg/admission/wrapper"
"github.com/go-gost/gost/v3/pkg/listener"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
admission "github.com/go-gost/core/admission/wrapper"
"github.com/go-gost/core/listener"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
metrics "github.com/go-gost/metrics/wrapper"
"golang.org/x/net/http2"
"golang.org/x/net/http2/h2c"

View File

@ -1,7 +1,7 @@
package h2
import (
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
const (

View File

@ -5,11 +5,11 @@ import (
"net"
"net/http"
admission "github.com/go-gost/gost/v3/pkg/admission/wrapper"
"github.com/go-gost/gost/v3/pkg/listener"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
admission "github.com/go-gost/core/admission/wrapper"
"github.com/go-gost/core/listener"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
metrics "github.com/go-gost/metrics/wrapper"
"golang.org/x/net/http2"
)

View File

@ -1,7 +1,7 @@
package http2
import (
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
const (

View File

@ -3,10 +3,10 @@ package http3
import (
"net"
"github.com/go-gost/gost/v3/pkg/listener"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/listener"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
metrics "github.com/go-gost/metrics/wrapper"
pht_util "github.com/go-gost/x/internal/util/pht"
"github.com/lucas-clemente/quic-go"

View File

@ -3,7 +3,7 @@ package http3
import (
"strings"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
const (

View File

@ -4,11 +4,11 @@ import (
"context"
"net"
admission "github.com/go-gost/gost/v3/pkg/admission/wrapper"
"github.com/go-gost/gost/v3/pkg/listener"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
admission "github.com/go-gost/core/admission/wrapper"
"github.com/go-gost/core/listener"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
metrics "github.com/go-gost/metrics/wrapper"
icmp_pkg "github.com/go-gost/x/internal/util/icmp"
"github.com/lucas-clemente/quic-go"

View File

@ -3,7 +3,7 @@ package quic
import (
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
const (

View File

@ -4,11 +4,11 @@ import (
"net"
"time"
admission "github.com/go-gost/gost/v3/pkg/admission/wrapper"
"github.com/go-gost/gost/v3/pkg/listener"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
admission "github.com/go-gost/core/admission/wrapper"
"github.com/go-gost/core/listener"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
metrics "github.com/go-gost/metrics/wrapper"
kcp_util "github.com/go-gost/x/internal/util/kcp"
"github.com/xtaci/kcp-go/v5"

View File

@ -3,7 +3,7 @@ package kcp
import (
"encoding/json"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
kcp_util "github.com/go-gost/x/internal/util/kcp"
)

View File

@ -4,11 +4,11 @@ import (
"crypto/tls"
"net"
admission "github.com/go-gost/gost/v3/pkg/admission/wrapper"
"github.com/go-gost/gost/v3/pkg/listener"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
admission "github.com/go-gost/core/admission/wrapper"
"github.com/go-gost/core/listener"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
metrics "github.com/go-gost/metrics/wrapper"
"github.com/xtaci/smux"
)

View File

@ -3,7 +3,7 @@ package mtls
import (
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
const (

View File

@ -6,11 +6,11 @@ import (
"net/http"
"net/http/httputil"
admission "github.com/go-gost/gost/v3/pkg/admission/wrapper"
"github.com/go-gost/gost/v3/pkg/listener"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
admission "github.com/go-gost/core/admission/wrapper"
"github.com/go-gost/core/listener"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
metrics "github.com/go-gost/metrics/wrapper"
ws_util "github.com/go-gost/x/internal/util/ws"
"github.com/gorilla/websocket"

Some files were not shown because too many files have changed in this diff Show More