|
|
|
internal/relay/doc.go raw
| 1 | // Package relay is the WebSocket transport boundary for the relay. | | 2 | // | | 3 | // Router owns connection lifecycle, authentication messages, subscriptions, | | 4 | // request and count queries, event publication and NIP-77 negotiation. A | | 5 | // Backend supplies durable publication and query behavior; optional interfaces | | 6 | // add reader privacy, query hints, policy invalidation and sync snapshots. | | 7 | // Router serializes publication with subscription registration and snapshots, | | 8 | // so a live event cannot pass a historical query boundary. Close stops every | | 9 | // connection and waits for its reader and writer goroutines to finish. | | 10 | package relay |
|
|
About| owner | c01503e8035f |
|---|
| visibility | public |
|---|
| head | d730679639bf |
|---|
Maintainers- c01503e8035f owner
- ba1b5beed5b5 agent hermes
Clonehttps://012.run/npub1cq2s86qrtadf36eqq3epm38wmhdynrrcwxf84eldk3f94dkv7ttsrulrz5/tinyrelay.git
|