aboutsummaryrefslogtreecommitdiffstats
path: root/relay
diff options
context:
space:
mode:
Diffstat (limited to 'relay')
-rw-r--r--relay/go.mod6
-rw-r--r--relay/handler.go8
-rw-r--r--relay/main.go4
-rw-r--r--relay/server.go6
-rw-r--r--relay/storage/events.go2
-rw-r--r--relay/subscription/manager.go2
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 @@
1module axon/relay 1module code.northwest.io/axon/relay
2 2
3go 1.25.5 3go 1.25.5
4 4
5require ( 5require (
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
30replace axon => ../ 30replace 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
18func main() { 18func 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,