diff options
| author | bndw <ben@bdw.to> | 2026-03-09 12:48:39 -0700 |
|---|---|---|
| committer | bndw <ben@bdw.to> | 2026-03-09 12:48:39 -0700 |
| commit | 0bd392e076e36c80a152abe00cbcd0bc9efedd9c (patch) | |
| tree | 2727cf8a030e675fa86082b56faf9fee4ddc45b1 /relay/git@code.northwest.io:axon.git | |
| parent | 2c1ec8f9e964c2e89eee900299db667d9a58db25 (diff) | |
feat: add axon CLI for pub/sub; fix relay hijack context bug
- cmd/axon: new CLI module with keygen, pub, and req subcommands
- keygen: generate Ed25519 keypair, print hex seed and pubkey
- pub: sign and publish an event; accepts --kind, --content, --tag
- req: query/stream events as JSON lines; accepts --kind, --author,
--tag, --since, --until, --limit, --stream
- key loaded from --key flag or AXON_KEY env var
- relay/websocket: add Dial() for client-side WebSocket handshake
(ws:// and wss://, RFC 6455 masking via client:true)
- relay/server: fix broken-pipe on auth by switching hijacked conn
goroutine from r.Context() to context.Background(); r.Context() is
cancelled by net/http immediately after Hijack is called
Diffstat (limited to 'relay/git@code.northwest.io:axon.git')
0 files changed, 0 insertions, 0 deletions
