Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"os"
"sync"

"github.com/TeoSlayer/pilotprotocol/pkg/protocol"
"github.com/pilot-protocol/common/protocol"
)

// DefaultPorts is the default set of ports the gateway proxies.
Expand Down
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/pilot-protocol/gateway

go 1.25.10

require github.com/TeoSlayer/pilotprotocol v0.0.0
require github.com/pilot-protocol/common v0.1.0

replace github.com/TeoSlayer/pilotprotocol => ../web4

replace github.com/pilot-protocol/common => ../common
2 changes: 1 addition & 1 deletion mapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"net"
"sync"

"github.com/TeoSlayer/pilotprotocol/pkg/protocol"
"github.com/pilot-protocol/common/protocol"
)

// MappingTable maps local IPs to Pilot addresses and vice versa.
Expand Down
2 changes: 1 addition & 1 deletion service.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package gateway
import (
"context"

"github.com/TeoSlayer/pilotprotocol/pkg/coreapi"
"github.com/pilot-protocol/common/coreapi"
)

// Service is the L11 plugin lifecycle adapter for the gateway. The
Expand Down
2 changes: 1 addition & 1 deletion service_disabled.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ package gateway
import (
"context"

"github.com/TeoSlayer/pilotprotocol/pkg/coreapi"
"github.com/pilot-protocol/common/coreapi"
)

// Service is a no-op replacement for the (today-unused) plugin
Expand Down
2 changes: 1 addition & 1 deletion zz_bridge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"
"time"

"github.com/TeoSlayer/pilotprotocol/pkg/protocol"
"github.com/pilot-protocol/common/protocol"
)

// pipeDialer returns one end of a net.Pipe per DialAddr call and stashes
Expand Down
4 changes: 2 additions & 2 deletions zz_coverage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"testing"
"time"

"github.com/TeoSlayer/pilotprotocol/pkg/coreapi"
"github.com/TeoSlayer/pilotprotocol/pkg/protocol"
"github.com/pilot-protocol/common/coreapi"
"github.com/pilot-protocol/common/protocol"
)

// ---------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion zz_fuzz_gateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"sync"
"testing"

"github.com/TeoSlayer/pilotprotocol/pkg/protocol"
"github.com/pilot-protocol/common/protocol"
"github.com/pilot-protocol/gateway"
)

Expand Down
2 changes: 1 addition & 1 deletion zz_gateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net"
"testing"

"github.com/TeoSlayer/pilotprotocol/pkg/protocol"
"github.com/pilot-protocol/common/protocol"
"github.com/pilot-protocol/gateway"
)

Expand Down
2 changes: 1 addition & 1 deletion zz_log_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"testing"

"github.com/TeoSlayer/pilotprotocol/pkg/protocol"
"github.com/pilot-protocol/common/protocol"
)

// TestListenPortWarnOnBindFailure regression-tests the log level for a
Expand Down
2 changes: 1 addition & 1 deletion zz_mapping_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"testing"

"github.com/TeoSlayer/pilotprotocol/pkg/protocol"
"github.com/pilot-protocol/common/protocol"
)

func TestNewMappingTable_InvalidCIDR(t *testing.T) {
Expand Down
Loading