From 170bdf9c14899e436e7aae4411bcb5cd166e7217 Mon Sep 17 00:00:00 2001 From: bndw Date: Mon, 9 Mar 2026 17:50:44 -0700 Subject: refactor: rename modules to code.northwest.io/axon --- relay/go.mod | 6 +++--- relay/handler.go | 8 ++++---- relay/main.go | 4 ++-- relay/server.go | 6 +++--- relay/storage/events.go | 2 +- relay/subscription/manager.go | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) (limited to 'relay') diff --git a/relay/go.mod b/relay/go.mod index a3d424a..6f7676f 100644 --- a/relay/go.mod +++ b/relay/go.mod @@ -1,9 +1,9 @@ -module axon/relay +module code.northwest.io/axon/relay go 1.25.5 require ( - axon v0.0.0 + code.northwest.io/axon v0.0.0 github.com/vmihailenco/msgpack/v5 v5.4.1 gopkg.in/yaml.v3 v3.0.1 modernc.org/sqlite v1.33.1 @@ -27,4 +27,4 @@ require ( modernc.org/token v1.1.0 // indirect ) -replace axon => ../ +replace code.northwest.io/axon => ../ diff --git a/relay/handler.go b/relay/handler.go index afd9622..c098a66 100644 --- a/relay/handler.go +++ b/relay/handler.go @@ -9,10 +9,10 @@ import ( "github.com/vmihailenco/msgpack/v5" - "axon" - "axon/relay/storage" - "axon/relay/subscription" - ws "axon/relay/websocket" + "code.northwest.io/axon" + "code.northwest.io/axon/relay/storage" + "code.northwest.io/axon/relay/subscription" + ws "code.northwest.io/axon/relay/websocket" ) // Wire protocol message type constants. diff --git a/relay/main.go b/relay/main.go index 2cfa034..099b28f 100644 --- a/relay/main.go +++ b/relay/main.go @@ -11,8 +11,8 @@ import ( "syscall" "time" - "axon/relay/storage" - "axon/relay/subscription" + "code.northwest.io/axon/relay/storage" + "code.northwest.io/axon/relay/subscription" ) func main() { diff --git a/relay/server.go b/relay/server.go index d4a1edd..9f716bf 100644 --- a/relay/server.go +++ b/relay/server.go @@ -9,9 +9,9 @@ import ( "net/http" "sync" - "axon/relay/storage" - "axon/relay/subscription" - ws "axon/relay/websocket" + "code.northwest.io/axon/relay/storage" + "code.northwest.io/axon/relay/subscription" + ws "code.northwest.io/axon/relay/websocket" ) // Server is the HTTP + WebSocket server for the Axon relay. diff --git a/relay/storage/events.go b/relay/storage/events.go index cf10097..0f642bb 100644 --- a/relay/storage/events.go +++ b/relay/storage/events.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "axon" + "code.northwest.io/axon" ) // ErrDuplicate is returned by StoreEvent when the event ID already exists. diff --git a/relay/subscription/manager.go b/relay/subscription/manager.go index d8ba653..c9de403 100644 --- a/relay/subscription/manager.go +++ b/relay/subscription/manager.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "axon" + "code.northwest.io/axon" ) // Subscription holds a single client subscription: an ID, a set of filters, -- cgit v1.2.3