From 4fc493e6d8cc20137f920f8647e39fc5051bb245 Mon Sep 17 00:00:00 2001 From: bndw Date: Sat, 14 Feb 2026 12:03:21 -0800 Subject: refactor: remove frivolous comments from auth validation/credentials Also removed internal/nostr package - now using northwest.io/nostr library. --- internal/handler/grpc/convert.go | 2 +- internal/handler/grpc/convert_test.go | 2 +- internal/handler/grpc/server_test.go | 2 +- internal/handler/websocket/convert.go | 2 +- internal/handler/websocket/handler.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'internal/handler') diff --git a/internal/handler/grpc/convert.go b/internal/handler/grpc/convert.go index db6935e..6f1bec3 100644 --- a/internal/handler/grpc/convert.go +++ b/internal/handler/grpc/convert.go @@ -2,7 +2,7 @@ package grpc import ( pb "northwest.io/muxstr/api/nostr/v1" - "northwest.io/muxstr/internal/nostr" + "northwest.io/nostr" ) func NostrToPB(n *nostr.Event) *pb.Event { diff --git a/internal/handler/grpc/convert_test.go b/internal/handler/grpc/convert_test.go index e9116ef..7ef08f9 100644 --- a/internal/handler/grpc/convert_test.go +++ b/internal/handler/grpc/convert_test.go @@ -4,7 +4,7 @@ import ( "testing" pb "northwest.io/muxstr/api/nostr/v1" - "northwest.io/muxstr/internal/nostr" + "northwest.io/nostr" ) func TestNostrToPB(t *testing.T) { diff --git a/internal/handler/grpc/server_test.go b/internal/handler/grpc/server_test.go index d589445..8bd48ea 100644 --- a/internal/handler/grpc/server_test.go +++ b/internal/handler/grpc/server_test.go @@ -7,8 +7,8 @@ import ( "time" pb "northwest.io/muxstr/api/nostr/v1" - "northwest.io/muxstr/internal/nostr" "northwest.io/muxstr/internal/storage" + "northwest.io/nostr" ) func TestPublishEvent(t *testing.T) { 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 import ( pb "northwest.io/muxstr/api/nostr/v1" - "northwest.io/muxstr/internal/nostr" + "northwest.io/nostr" ) func 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 ( "net/http" pb "northwest.io/muxstr/api/nostr/v1" - "northwest.io/muxstr/internal/nostr" "northwest.io/muxstr/internal/storage" "northwest.io/muxstr/internal/subscription" "northwest.io/muxstr/internal/websocket" + "northwest.io/nostr" ) type EventStore interface { -- cgit v1.2.3