summaryrefslogtreecommitdiffstats
path: root/internal/handler/websocket/nip11.go
diff options
context:
space:
mode:
authorbndw <ben@bdw.to>2026-02-13 18:17:37 -0800
committerbndw <ben@bdw.to>2026-02-13 18:17:37 -0800
commit3481c3273f8764bd0a0ab51183dc57f592fb616c (patch)
tree8bef805f5f18420198a04bf87578bbc80b76ea40 /internal/handler/websocket/nip11.go
parentecd4a2240dd443fd6949e6e1120a7ec971a024ca (diff)
feat: add WebSocket server with full NIP-01 support
WebSocket handler: - NIP-01 protocol (EVENT, REQ, CLOSE, OK, EOSE, NOTICE) - JSON envelope parsing - Shares subscription manager with gRPC (unified event fan-out) - Standard Nostr client compatibility Relay now serves dual protocols: - gRPC on :50051 (binary, high performance) - WebSocket on :8080 (JSON, Nostr standard) Both protocols share: - Same storage layer - Same subscription manager - Same validation logic Compatible with all Nostr clients!
Diffstat (limited to 'internal/handler/websocket/nip11.go')
0 files changed, 0 insertions, 0 deletions