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
4 changes: 2 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ package dataexchange
import (
"time"

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

// Client connects to a remote data exchange service on port 1001.
Expand Down
4 changes: 2 additions & 2 deletions examples/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"net"

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

Expand Down
6 changes: 5 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ module github.com/pilot-protocol/dataexchange
go 1.25.10

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

require github.com/TeoSlayer/pilotprotocol v0.0.0 // indirect

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

replace github.com/pilot-protocol/common => ../common
4 changes: 2 additions & 2 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"log/slog"
"net"

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

// Handler is called for each incoming frame on a connection.
Expand Down
4 changes: 2 additions & 2 deletions service.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import (
"sync/atomic"
"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"
)

// ServiceConfig configures the daemon-side dataexchange handler. Both
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 dataexchange
import (
"context"

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

// ServiceConfig mirrors the real ServiceConfig so cmd/daemon's
Expand Down
4 changes: 2 additions & 2 deletions zz_client_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/driver"
"github.com/TeoSlayer/pilotprotocol/pkg/protocol"
"github.com/pilot-protocol/common/driver"
"github.com/pilot-protocol/common/protocol"
)

// ---- IPC wire constants (mirror unexported driver.cmd* by value) -----------
Expand Down
4 changes: 2 additions & 2 deletions zz_coverage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,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"
)

// ----- helpers ---------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions zz_more_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
"strings"
"testing"

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

// TestTypeName covers every branch of the human-readable type mapping.
Expand Down
4 changes: 2 additions & 2 deletions zz_service_errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,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"
)

// ---- saveReceivedFile error branches ---------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions zz_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,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"
)

// fakeStream is a coreapi.Stream backed by io.Pipe pairs.
Expand Down
Loading