Skip to content

Commit 16544c1

Browse files
committed
v1.1.0
1 parent ed8d6d7 commit 16544c1

627 files changed

Lines changed: 3245 additions & 2633 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/commander/commander.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
package commander
44

5-
//go:generate go run github.com/xtls/xray-core/v1/common/errors/errorgen
5+
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen
66

77
import (
88
"context"
@@ -11,10 +11,10 @@ import (
1111

1212
"google.golang.org/grpc"
1313

14-
"github.com/xtls/xray-core/v1/common"
15-
"github.com/xtls/xray-core/v1/common/signal/done"
16-
core "github.com/xtls/xray-core/v1/core"
17-
"github.com/xtls/xray-core/v1/features/outbound"
14+
"github.com/xtls/xray-core/common"
15+
"github.com/xtls/xray-core/common/signal/done"
16+
core "github.com/xtls/xray-core/core"
17+
"github.com/xtls/xray-core/features/outbound"
1818
)
1919

2020
// Commander is a Xray feature that provides gRPC methods to external clients.

app/commander/config.pb.go

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/commander/config.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ syntax = "proto3";
22

33
package xray.app.commander;
44
option csharp_namespace = "Xray.App.Commander";
5-
option go_package = "github.com/xtls/xray-core/v1/app/commander";
5+
option go_package = "github.com/xtls/xray-core/app/commander";
66
option java_package = "com.xray.app.commander";
77
option java_multiple_files = true;
88

app/commander/errors.generated.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package commander
22

3-
import "github.com/xtls/xray-core/v1/common/errors"
3+
import "github.com/xtls/xray-core/common/errors"
44

55
type errPathObjHolder struct{}
66

app/commander/outbound.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import (
66
"context"
77
"sync"
88

9-
"github.com/xtls/xray-core/v1/common"
10-
"github.com/xtls/xray-core/v1/common/net"
11-
"github.com/xtls/xray-core/v1/common/signal/done"
12-
"github.com/xtls/xray-core/v1/transport"
9+
"github.com/xtls/xray-core/common"
10+
"github.com/xtls/xray-core/common/net"
11+
"github.com/xtls/xray-core/common/signal/done"
12+
"github.com/xtls/xray-core/transport"
1313
)
1414

1515
// OutboundListener is a net.Listener for listening gRPC connections.

app/commander/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package commander
55
import (
66
"context"
77

8-
"github.com/xtls/xray-core/v1/common"
8+
"github.com/xtls/xray-core/common"
99
"google.golang.org/grpc"
1010
"google.golang.org/grpc/reflection"
1111
)

app/dispatcher/config.pb.go

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/dispatcher/config.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ syntax = "proto3";
22

33
package xray.app.dispatcher;
44
option csharp_namespace = "Xray.App.Dispatcher";
5-
option go_package = "github.com/xtls/xray-core/v1/app/dispatcher";
5+
option go_package = "github.com/xtls/xray-core/app/dispatcher";
66
option java_package = "com.xray.app.dispatcher";
77
option java_multiple_files = true;
88

app/dispatcher/default.go

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,28 @@
22

33
package dispatcher
44

5-
//go:generate go run github.com/xtls/xray-core/v1/common/errors/errorgen
5+
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen
66

77
import (
88
"context"
99
"strings"
1010
"sync"
1111
"time"
1212

13-
"github.com/xtls/xray-core/v1/common"
14-
"github.com/xtls/xray-core/v1/common/buf"
15-
"github.com/xtls/xray-core/v1/common/log"
16-
"github.com/xtls/xray-core/v1/common/net"
17-
"github.com/xtls/xray-core/v1/common/protocol"
18-
"github.com/xtls/xray-core/v1/common/session"
19-
"github.com/xtls/xray-core/v1/core"
20-
"github.com/xtls/xray-core/v1/features/outbound"
21-
"github.com/xtls/xray-core/v1/features/policy"
22-
"github.com/xtls/xray-core/v1/features/routing"
23-
routing_session "github.com/xtls/xray-core/v1/features/routing/session"
24-
"github.com/xtls/xray-core/v1/features/stats"
25-
"github.com/xtls/xray-core/v1/transport"
26-
"github.com/xtls/xray-core/v1/transport/pipe"
13+
"github.com/xtls/xray-core/common"
14+
"github.com/xtls/xray-core/common/buf"
15+
"github.com/xtls/xray-core/common/log"
16+
"github.com/xtls/xray-core/common/net"
17+
"github.com/xtls/xray-core/common/protocol"
18+
"github.com/xtls/xray-core/common/session"
19+
"github.com/xtls/xray-core/core"
20+
"github.com/xtls/xray-core/features/outbound"
21+
"github.com/xtls/xray-core/features/policy"
22+
"github.com/xtls/xray-core/features/routing"
23+
routing_session "github.com/xtls/xray-core/features/routing/session"
24+
"github.com/xtls/xray-core/features/stats"
25+
"github.com/xtls/xray-core/transport"
26+
"github.com/xtls/xray-core/transport/pipe"
2727
)
2828

2929
var (

app/dispatcher/dispatcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
package dispatcher
44

5-
//go:generate go run github.com/xtls/xray-core/v1/common/errors/errorgen
5+
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen

0 commit comments

Comments
 (0)