diff options
| author | bndw <ben@bdw.to> | 2026-02-14 12:03:21 -0800 |
|---|---|---|
| committer | bndw <ben@bdw.to> | 2026-02-14 12:03:21 -0800 |
| commit | 4fc493e6d8cc20137f920f8647e39fc5051bb245 (patch) | |
| tree | 69055d7da89ca909e33c66de7a883fdbe2ccbb97 /internal/handler/grpc | |
| parent | 3e0ddc90c8f4ae7658cc07fb183aa0a7ecc338b7 (diff) | |
refactor: remove frivolous comments from auth validation/credentials
Also removed internal/nostr package - now using northwest.io/nostr library.
Diffstat (limited to 'internal/handler/grpc')
| -rw-r--r-- | internal/handler/grpc/convert.go | 2 | ||||
| -rw-r--r-- | internal/handler/grpc/convert_test.go | 2 | ||||
| -rw-r--r-- | internal/handler/grpc/server_test.go | 2 |
3 files changed, 3 insertions, 3 deletions
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 | |||
| 2 | 2 | ||
| 3 | import ( | 3 | import ( |
| 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 | ||
| 8 | func NostrToPB(n *nostr.Event) *pb.Event { | 8 | 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 ( | |||
| 4 | "testing" | 4 | "testing" |
| 5 | 5 | ||
| 6 | pb "northwest.io/muxstr/api/nostr/v1" | 6 | pb "northwest.io/muxstr/api/nostr/v1" |
| 7 | "northwest.io/muxstr/internal/nostr" | 7 | "northwest.io/nostr" |
| 8 | ) | 8 | ) |
| 9 | 9 | ||
| 10 | func TestNostrToPB(t *testing.T) { | 10 | 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 ( | |||
| 7 | "time" | 7 | "time" |
| 8 | 8 | ||
| 9 | pb "northwest.io/muxstr/api/nostr/v1" | 9 | pb "northwest.io/muxstr/api/nostr/v1" |
| 10 | "northwest.io/muxstr/internal/nostr" | ||
| 11 | "northwest.io/muxstr/internal/storage" | 10 | "northwest.io/muxstr/internal/storage" |
| 11 | "northwest.io/nostr" | ||
| 12 | ) | 12 | ) |
| 13 | 13 | ||
| 14 | func TestPublishEvent(t *testing.T) { | 14 | func TestPublishEvent(t *testing.T) { |
