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 client.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"net"
"time"

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

// Dialer abstracts the ability to open a connection to a Pilot overlay address.
Expand Down
7 changes: 3 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ module github.com/pilot-protocol/nameserver

go 1.25.10

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

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

replace github.com/pilot-protocol/common => ../common
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
github.com/pilot-protocol/common v0.1.0 h1:m8mZZATgeBiFoqhWXPnskw2u0lNkWxHp0IagZK35V1g=
github.com/pilot-protocol/common v0.1.0/go.mod h1:4YZWHK5nhM+4RLmYTspLxxAFbyBII7yzQDAHq3Ul2ck=
2 changes: 1 addition & 1 deletion records.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"time"

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

// Record types
Expand Down
4 changes: 2 additions & 2 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"log/slog"
"net"

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

// PortListener abstracts the ability to listen on a Pilot overlay port.
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 nameserver
import (
"context"

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

// Service is the L11 plugin lifecycle adapter for the nameserver. The
Expand Down
2 changes: 1 addition & 1 deletion service_disabled.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package nameserver
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 wire.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strconv"
"strings"

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

// Wire protocol for the nameserver. Plain text, newline-delimited.
Expand Down
2 changes: 1 addition & 1 deletion zz_case_sensitivity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"testing"

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

func TestRecordStoreLookupCaseInsensitive(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions zz_coverage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,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_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"testing"
"time"

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

// fakeListener implements PortListener using net.Listen on 127.0.0.1.
Expand Down
2 changes: 1 addition & 1 deletion zz_fuzz_nameserver_records_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package nameserver_test
import (
"testing"

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

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

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

Expand Down
2 changes: 1 addition & 1 deletion zz_nameserver_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"
"github.com/pilot-protocol/nameserver"
)

Expand Down
2 changes: 1 addition & 1 deletion zz_ttl_persistence_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"time"

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

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