diff options
| author | bndw <ben@bdw.to> | 2026-03-09 17:50:44 -0700 |
|---|---|---|
| committer | bndw <ben@bdw.to> | 2026-03-09 17:50:44 -0700 |
| commit | 170bdf9c14899e436e7aae4411bcb5cd166e7217 (patch) | |
| tree | 1c865de97bcc5d2a12e35426d53b939222c57f03 /relay | |
| parent | eca962d7c26bbea57801576935b98f3540e43da6 (diff) | |
refactor: rename modules to code.northwest.io/axon
Diffstat (limited to 'relay')
| -rw-r--r-- | relay/go.mod | 6 | ||||
| -rw-r--r-- | relay/handler.go | 8 | ||||
| -rw-r--r-- | relay/main.go | 4 | ||||
| -rw-r--r-- | relay/server.go | 6 | ||||
| -rw-r--r-- | relay/storage/events.go | 2 | ||||
| -rw-r--r-- | relay/subscription/manager.go | 2 |
6 files changed, 14 insertions, 14 deletions
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 @@ | |||
| 1 | module axon/relay | 1 | module code.northwest.io/axon/relay |
| 2 | 2 | ||
| 3 | go 1.25.5 | 3 | go 1.25.5 |
| 4 | 4 | ||
| 5 | require ( | 5 | require ( |
| 6 | axon v0.0.0 | 6 | code.northwest.io/axon v0.0.0 |
| 7 | github.com/vmihailenco/msgpack/v5 v5.4.1 | 7 | github.com/vmihailenco/msgpack/v5 v5.4.1 |
| 8 | gopkg.in/yaml.v3 v3.0.1 | 8 | gopkg.in/yaml.v3 v3.0.1 |
| 9 | modernc.org/sqlite v1.33.1 | 9 | modernc.org/sqlite v1.33.1 |
| @@ -27,4 +27,4 @@ require ( | |||
| 27 | modernc.org/token v1.1.0 // indirect | 27 | modernc.org/token v1.1.0 // indirect |
| 28 | ) | 28 | ) |
| 29 | 29 | ||
| 30 | replace axon => ../ | 30 | 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 ( | |||
| 9 | 9 | ||
| 10 | "github.com/vmihailenco/msgpack/v5" | 10 | "github.com/vmihailenco/msgpack/v5" |
| 11 | 11 | ||
| 12 | "axon" | 12 | "code.northwest.io/axon" |
| 13 | "axon/relay/storage" | 13 | "code.northwest.io/axon/relay/storage" |
| 14 | "axon/relay/subscription" | 14 | "code.northwest.io/axon/relay/subscription" |
| 15 | ws "axon/relay/websocket" | 15 | ws "code.northwest.io/axon/relay/websocket" |
| 16 | ) | 16 | ) |
| 17 | 17 | ||
| 18 | // Wire protocol message type constants. | 18 | // 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 ( | |||
| 11 | "syscall" | 11 | "syscall" |
| 12 | "time" | 12 | "time" |
| 13 | 13 | ||
| 14 | "axon/relay/storage" | 14 | "code.northwest.io/axon/relay/storage" |
| 15 | "axon/relay/subscription" | 15 | "code.northwest.io/axon/relay/subscription" |
| 16 | ) | 16 | ) |
| 17 | 17 | ||
| 18 | func main() { | 18 | 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 ( | |||
| 9 | "net/http" | 9 | "net/http" |
| 10 | "sync" | 10 | "sync" |
| 11 | 11 | ||
| 12 | "axon/relay/storage" | 12 | "code.northwest.io/axon/relay/storage" |
| 13 | "axon/relay/subscription" | 13 | "code.northwest.io/axon/relay/subscription" |
| 14 | ws "axon/relay/websocket" | 14 | ws "code.northwest.io/axon/relay/websocket" |
| 15 | ) | 15 | ) |
| 16 | 16 | ||
| 17 | // Server is the HTTP + WebSocket server for the Axon relay. | 17 | // 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 ( | |||
| 7 | "fmt" | 7 | "fmt" |
| 8 | "strings" | 8 | "strings" |
| 9 | 9 | ||
| 10 | "axon" | 10 | "code.northwest.io/axon" |
| 11 | ) | 11 | ) |
| 12 | 12 | ||
| 13 | // ErrDuplicate is returned by StoreEvent when the event ID already exists. | 13 | // 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 ( | |||
| 6 | "sync" | 6 | "sync" |
| 7 | "time" | 7 | "time" |
| 8 | 8 | ||
| 9 | "axon" | 9 | "code.northwest.io/axon" |
| 10 | ) | 10 | ) |
| 11 | 11 | ||
| 12 | // Subscription holds a single client subscription: an ID, a set of filters, | 12 | // Subscription holds a single client subscription: an ID, a set of filters, |
