move x/internal/ctx to x/ctx

This commit is contained in:
ginuerzh
2024-01-30 18:19:39 +08:00
parent 5ee7746aab
commit 3d2a7b7d3b
35 changed files with 37 additions and 37 deletions

View File

@ -11,7 +11,7 @@ import (
"github.com/go-gost/core/limiter/traffic"
"github.com/go-gost/core/logger"
"github.com/go-gost/relay"
ctxvalue "github.com/go-gost/x/internal/ctx"
ctxvalue "github.com/go-gost/x/ctx"
xnet "github.com/go-gost/x/internal/net"
serial "github.com/go-gost/x/internal/util/serial"
"github.com/go-gost/x/limiter/traffic/wrapper"

View File

@ -10,7 +10,7 @@ import (
"github.com/go-gost/core/limiter/traffic"
"github.com/go-gost/core/logger"
"github.com/go-gost/relay"
ctxvalue "github.com/go-gost/x/internal/ctx"
ctxvalue "github.com/go-gost/x/ctx"
netpkg "github.com/go-gost/x/internal/net"
"github.com/go-gost/x/limiter/traffic/wrapper"
"github.com/go-gost/x/stats"

View File

@ -12,9 +12,9 @@ import (
"github.com/go-gost/core/hop"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/relay"
ctxvalue "github.com/go-gost/x/internal/ctx"
"github.com/go-gost/x/registry"
ctxvalue "github.com/go-gost/x/ctx"
stats_util "github.com/go-gost/x/internal/util/stats"
"github.com/go-gost/x/registry"
)
var (
@ -215,4 +215,4 @@ func (h *relayHandler) observeStats(ctx context.Context) {
return
}
}
}
}