summaryrefslogtreecommitdiffstats
path: root/internal/handler/grpc
diff options
context:
space:
mode:
Diffstat (limited to 'internal/handler/grpc')
-rw-r--r--internal/handler/grpc/convert.go4
-rw-r--r--internal/handler/grpc/convert_test.go4
-rw-r--r--internal/handler/grpc/server.go6
-rw-r--r--internal/handler/grpc/server_test.go6
4 files changed, 10 insertions, 10 deletions
diff --git a/internal/handler/grpc/convert.go b/internal/handler/grpc/convert.go
index 19505cd..db6935e 100644
--- a/internal/handler/grpc/convert.go
+++ b/internal/handler/grpc/convert.go
@@ -1,8 +1,8 @@
1package grpc 1package grpc
2 2
3import ( 3import (
4 pb "northwest.io/nostr-grpc/api/nostr/v1" 4 pb "northwest.io/muxstr/api/nostr/v1"
5 "northwest.io/nostr-grpc/internal/nostr" 5 "northwest.io/muxstr/internal/nostr"
6) 6)
7 7
8func NostrToPB(n *nostr.Event) *pb.Event { 8func NostrToPB(n *nostr.Event) *pb.Event {
diff --git a/internal/handler/grpc/convert_test.go b/internal/handler/grpc/convert_test.go
index 6da2d89..e9116ef 100644
--- a/internal/handler/grpc/convert_test.go
+++ b/internal/handler/grpc/convert_test.go
@@ -3,8 +3,8 @@ package grpc
3import ( 3import (
4 "testing" 4 "testing"
5 5
6 pb "northwest.io/nostr-grpc/api/nostr/v1" 6 pb "northwest.io/muxstr/api/nostr/v1"
7 "northwest.io/nostr-grpc/internal/nostr" 7 "northwest.io/muxstr/internal/nostr"
8) 8)
9 9
10func TestNostrToPB(t *testing.T) { 10func TestNostrToPB(t *testing.T) {
diff --git a/internal/handler/grpc/server.go b/internal/handler/grpc/server.go
index 4d6e700..c5eb0d2 100644
--- a/internal/handler/grpc/server.go
+++ b/internal/handler/grpc/server.go
@@ -5,9 +5,9 @@ import (
5 "crypto/rand" 5 "crypto/rand"
6 "fmt" 6 "fmt"
7 7
8 pb "northwest.io/nostr-grpc/api/nostr/v1" 8 pb "northwest.io/muxstr/api/nostr/v1"
9 "northwest.io/nostr-grpc/internal/storage" 9 "northwest.io/muxstr/internal/storage"
10 "northwest.io/nostr-grpc/internal/subscription" 10 "northwest.io/muxstr/internal/subscription"
11) 11)
12 12
13type EventStore interface { 13type EventStore interface {
diff --git a/internal/handler/grpc/server_test.go b/internal/handler/grpc/server_test.go
index 12dde92..d589445 100644
--- a/internal/handler/grpc/server_test.go
+++ b/internal/handler/grpc/server_test.go
@@ -6,9 +6,9 @@ import (
6 "testing" 6 "testing"
7 "time" 7 "time"
8 8
9 pb "northwest.io/nostr-grpc/api/nostr/v1" 9 pb "northwest.io/muxstr/api/nostr/v1"
10 "northwest.io/nostr-grpc/internal/nostr" 10 "northwest.io/muxstr/internal/nostr"
11 "northwest.io/nostr-grpc/internal/storage" 11 "northwest.io/muxstr/internal/storage"
12) 12)
13 13
14func TestPublishEvent(t *testing.T) { 14func TestPublishEvent(t *testing.T) {