summaryrefslogtreecommitdiffstats
path: root/internal/handler/websocket
diff options
context:
space:
mode:
Diffstat (limited to 'internal/handler/websocket')
-rw-r--r--internal/handler/websocket/convert.go2
-rw-r--r--internal/handler/websocket/handler.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/handler/websocket/convert.go b/internal/handler/websocket/convert.go
index 1d006f9..5a5692a 100644
--- a/internal/handler/websocket/convert.go
+++ b/internal/handler/websocket/convert.go
@@ -2,7 +2,7 @@ package websocket
2 2
3import ( 3import (
4 pb "northwest.io/muxstr/api/nostr/v1" 4 pb "northwest.io/muxstr/api/nostr/v1"
5 "northwest.io/muxstr/internal/nostr" 5 "northwest.io/nostr"
6) 6)
7 7
8func NostrToPB(n *nostr.Event) *pb.Event { 8func NostrToPB(n *nostr.Event) *pb.Event {
diff --git a/internal/handler/websocket/handler.go b/internal/handler/websocket/handler.go
index f8a7fbd..5d40abb 100644
--- a/internal/handler/websocket/handler.go
+++ b/internal/handler/websocket/handler.go
@@ -8,10 +8,10 @@ import (
8 "net/http" 8 "net/http"
9 9
10 pb "northwest.io/muxstr/api/nostr/v1" 10 pb "northwest.io/muxstr/api/nostr/v1"
11 "northwest.io/muxstr/internal/nostr"
12 "northwest.io/muxstr/internal/storage" 11 "northwest.io/muxstr/internal/storage"
13 "northwest.io/muxstr/internal/subscription" 12 "northwest.io/muxstr/internal/subscription"
14 "northwest.io/muxstr/internal/websocket" 13 "northwest.io/muxstr/internal/websocket"
14 "northwest.io/nostr"
15) 15)
16 16
17type EventStore interface { 17type EventStore interface {