diff options
| author | bndw <ben@bdw.to> | 2026-02-14 11:40:11 -0800 |
|---|---|---|
| committer | bndw <ben@bdw.to> | 2026-02-14 11:40:11 -0800 |
| commit | 317e5320b1083c73109c15b9c52f228207fa50e0 (patch) | |
| tree | f4b9dc07286125306636fdc0e1a4efb7919fb07f /internal/handler | |
| parent | c9366189bae6e28a85e28450a59cf86a6589b8f7 (diff) | |
index update
Diffstat (limited to 'internal/handler')
| -rw-r--r-- | internal/handler/websocket/index.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/handler/websocket/index.go b/internal/handler/websocket/index.go index 8cd1940..2c51564 100644 --- a/internal/handler/websocket/index.go +++ b/internal/handler/websocket/index.go | |||
| @@ -86,7 +86,7 @@ var indexTemplate = template.Must(template.New("index").Parse(`<!DOCTYPE html> | |||
| 86 | </svg> | 86 | </svg> |
| 87 | </div> | 87 | </div> |
| 88 | 88 | ||
| 89 | <p>Muxstr is a relay that implements the Nostr protocol with support for multiple transport layers. Connect using gRPC, HTTP/JSON, or standard WebSocket.</p> | 89 | <p>Muxstr is a Nostr relay providing gRPC, HTTP/JSON, and WebSocket interfaces.</p> |
| 90 | 90 | ||
| 91 | <hr> | 91 | <hr> |
| 92 | 92 | ||
| @@ -94,7 +94,7 @@ var indexTemplate = template.Must(template.New("index").Parse(`<!DOCTYPE html> | |||
| 94 | 94 | ||
| 95 | <h3>gRPC (Native Binary)</h3> | 95 | <h3>gRPC (Native Binary)</h3> |
| 96 | <p><code>{{.GrpcAddr}}</code></p> | 96 | <p><code>{{.GrpcAddr}}</code></p> |
| 97 | <p>High-performance binary protocol using Protocol Buffers over HTTP/2. For applications requiring low latency and high throughput.</p> | 97 | <p>High-performance binary protocol using Protocol Buffers over HTTP/2.</p> |
| 98 | 98 | ||
| 99 | <h3>Connect (HTTP/JSON)</h3> | 99 | <h3>Connect (HTTP/JSON)</h3> |
| 100 | <p><code>{{.HttpAddr}}/nostr.v1.NostrRelay/*</code></p> | 100 | <p><code>{{.HttpAddr}}/nostr.v1.NostrRelay/*</code></p> |
| @@ -102,7 +102,7 @@ var indexTemplate = template.Must(template.New("index").Parse(`<!DOCTYPE html> | |||
| 102 | 102 | ||
| 103 | <h3>WebSocket (Nostr Protocol)</h3> | 103 | <h3>WebSocket (Nostr Protocol)</h3> |
| 104 | <p><code>{{.WsAddr}}/</code></p> | 104 | <p><code>{{.WsAddr}}/</code></p> |
| 105 | <p>Standard Nostr protocol implementation (NIP-01). Compatible with all Nostr clients: Damus, Amethyst, Snort, Iris, etc.</p> | 105 | <p>Standard Nostr protocol implementation (NIP-01) compatible with all Nostr clients.</p> |
| 106 | 106 | ||
| 107 | <hr> | 107 | <hr> |
| 108 | 108 | ||
| @@ -118,7 +118,7 @@ var indexTemplate = template.Must(template.New("index").Parse(`<!DOCTYPE html> | |||
| 118 | 118 | ||
| 119 | <h2>Implementation Details</h2> | 119 | <h2>Implementation Details</h2> |
| 120 | 120 | ||
| 121 | <p><strong>Storage:</strong> SQLite with Write-Ahead Logging (WAL mode)<br> | 121 | <p><strong>Storage:</strong> SQLite with Write-Ahead Logging<br> |
| 122 | <strong>Event Format:</strong> Binary-first (Protocol Buffers + compressed JSON)<br> | 122 | <strong>Event Format:</strong> Binary-first (Protocol Buffers + compressed JSON)<br> |
| 123 | <strong>Validation:</strong> Full cryptographic signature and event ID verification<br> | 123 | <strong>Validation:</strong> Full cryptographic signature and event ID verification<br> |
| 124 | <strong>Subscriptions:</strong> Real-time event streaming with filter matching<br> | 124 | <strong>Subscriptions:</strong> Real-time event streaming with filter matching<br> |
