summaryrefslogtreecommitdiffstats
path: root/internal/handler/websocket
diff options
context:
space:
mode:
Diffstat (limited to 'internal/handler/websocket')
-rw-r--r--internal/handler/websocket/convert.go4
-rw-r--r--internal/handler/websocket/handler.go10
-rw-r--r--internal/handler/websocket/nip11.go4
3 files changed, 9 insertions, 9 deletions
diff --git a/internal/handler/websocket/convert.go b/internal/handler/websocket/convert.go
index 0458ee4..1d006f9 100644
--- a/internal/handler/websocket/convert.go
+++ b/internal/handler/websocket/convert.go
@@ -1,8 +1,8 @@
1package websocket 1package websocket
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/websocket/handler.go b/internal/handler/websocket/handler.go
index c285df6..f8a7fbd 100644
--- a/internal/handler/websocket/handler.go
+++ b/internal/handler/websocket/handler.go
@@ -7,11 +7,11 @@ import (
7 "log" 7 "log"
8 "net/http" 8 "net/http"
9 9
10 pb "northwest.io/nostr-grpc/api/nostr/v1" 10 pb "northwest.io/muxstr/api/nostr/v1"
11 "northwest.io/nostr-grpc/internal/nostr" 11 "northwest.io/muxstr/internal/nostr"
12 "northwest.io/nostr-grpc/internal/storage" 12 "northwest.io/muxstr/internal/storage"
13 "northwest.io/nostr-grpc/internal/subscription" 13 "northwest.io/muxstr/internal/subscription"
14 "northwest.io/nostr-grpc/internal/websocket" 14 "northwest.io/muxstr/internal/websocket"
15) 15)
16 16
17type EventStore interface { 17type EventStore interface {
diff --git a/internal/handler/websocket/nip11.go b/internal/handler/websocket/nip11.go
index a5bb9ca..8de95a2 100644
--- a/internal/handler/websocket/nip11.go
+++ b/internal/handler/websocket/nip11.go
@@ -32,10 +32,10 @@ type Limits struct {
32 32
33func (h *Handler) ServeNIP11(w http.ResponseWriter, r *http.Request) { 33func (h *Handler) ServeNIP11(w http.ResponseWriter, r *http.Request) {
34 info := RelayInfo{ 34 info := RelayInfo{
35 Name: "nostr-grpc relay", 35 Name: "muxstr relay",
36 Description: "High-performance Nostr relay with gRPC, Connect, and WebSocket support", 36 Description: "High-performance Nostr relay with gRPC, Connect, and WebSocket support",
37 SupportedNIPs: []int{1, 9, 11}, 37 SupportedNIPs: []int{1, 9, 11},
38 Software: "northwest.io/nostr-grpc", 38 Software: "northwest.io/muxstr",
39 Version: "0.1.0", 39 Version: "0.1.0",
40 Limitation: &Limits{ 40 Limitation: &Limits{
41 MaxMessageLength: 65536, 41 MaxMessageLength: 65536,