Skip to content

Commit fde6c85

Browse files
committed
Use lantern-box everywhere
1 parent 02e390b commit fde6c85

File tree

16 files changed

+41
-41
lines changed

16 files changed

+41
-41
lines changed

adapter/groups/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"github.com/sagernet/sing-box/log"
1616
"github.com/sagernet/sing/common/logger"
1717

18-
"github.com/getlantern/sing-box-extensions/adapter"
18+
"github.com/getlantern/lantern-box/adapter"
1919
)
2020

2121
const (

cmd/sing-box-extensions/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
box "github.com/sagernet/sing-box"
99
"github.com/spf13/cobra"
1010

11-
"github.com/getlantern/sing-box-extensions/protocol"
11+
"github.com/getlantern/lantern-box/protocol"
1212
)
1313

1414
var globalCtx context.Context

context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

66
box "github.com/sagernet/sing-box"
77

8-
"github.com/getlantern/sing-box-extensions/protocol"
8+
"github.com/getlantern/lantern-box/protocol"
99
)
1010

1111
// BoxContext returns a box context with the registered inbound, outbound, and endpoint protocols.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/getlantern/sing-box-extensions
1+
module github.com/getlantern/lantern-box
22

33
go 1.23.6
44

protocol/algeneva/inbound.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99
alg "github.com/getlantern/algeneva"
1010
"github.com/gobwas/ws"
1111

12-
"github.com/getlantern/sing-box-extensions/constant"
13-
"github.com/getlantern/sing-box-extensions/metrics"
14-
"github.com/getlantern/sing-box-extensions/option"
12+
"github.com/getlantern/lantern-box/constant"
13+
"github.com/getlantern/lantern-box/metrics"
14+
"github.com/getlantern/lantern-box/option"
1515

1616
"github.com/sagernet/sing-box/adapter"
1717
"github.com/sagernet/sing-box/adapter/inbound"

protocol/algeneva/outbound.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ import (
2525

2626
alg "github.com/getlantern/algeneva"
2727

28-
"github.com/getlantern/sing-box-extensions/constant"
29-
"github.com/getlantern/sing-box-extensions/option"
28+
"github.com/getlantern/lantern-box/constant"
29+
"github.com/getlantern/lantern-box/option"
3030
)
3131

3232
func RegisterOutbound(registry *outbound.Registry) {

protocol/amnezia/endpoint.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ import (
2222
M "github.com/sagernet/sing/common/metadata"
2323
N "github.com/sagernet/sing/common/network"
2424

25-
"github.com/getlantern/sing-box-extensions/constant"
26-
"github.com/getlantern/sing-box-extensions/metrics"
27-
"github.com/getlantern/sing-box-extensions/option"
28-
"github.com/getlantern/sing-box-extensions/transport/amnezia"
25+
"github.com/getlantern/lantern-box/constant"
26+
"github.com/getlantern/lantern-box/metrics"
27+
"github.com/getlantern/lantern-box/option"
28+
"github.com/getlantern/lantern-box/transport/amnezia"
2929
)
3030

3131
func RegisterEndpoint(registry *endpoint.Registry) {

protocol/amnezia/outbound.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ import (
4242
M "github.com/sagernet/sing/common/metadata"
4343
N "github.com/sagernet/sing/common/network"
4444

45-
"github.com/getlantern/sing-box-extensions/constant"
45+
"github.com/getlantern/lantern-box/constant"
4646
)
4747

4848
func RegisterOutbound(registry *outbound.Registry) {

protocol/group/fallback.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import (
1313
"github.com/sagernet/sing/common/metadata"
1414
"github.com/sagernet/sing/service"
1515

16-
"github.com/getlantern/sing-box-extensions/constant"
17-
"github.com/getlantern/sing-box-extensions/option"
16+
"github.com/getlantern/lantern-box/constant"
17+
"github.com/getlantern/lantern-box/option"
1818
)
1919

2020
func RegisterFallback(registry *outbound.Registry) {

protocol/group/mutableselector.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ import (
2222
"go.opentelemetry.io/otel/attribute"
2323
"go.opentelemetry.io/otel/trace"
2424

25-
"github.com/getlantern/sing-box-extensions/adapter"
26-
"github.com/getlantern/sing-box-extensions/constant"
27-
"github.com/getlantern/sing-box-extensions/option"
25+
"github.com/getlantern/lantern-box/adapter"
26+
"github.com/getlantern/lantern-box/constant"
27+
"github.com/getlantern/lantern-box/option"
2828
)
2929

30-
const tracerName = "github.com/getlantern/sing-box-extensions/protocol/group"
30+
const tracerName = "github.com/getlantern/lantern-box/protocol/group"
3131

3232
func RegisterMutableSelector(registry *outbound.Registry) {
3333
outbound.Register[option.MutableSelectorOutboundOptions](registry, constant.TypeMutableSelector, NewMutableSelector)

0 commit comments

Comments
 (0)