aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorbndw <ben@bdw.to>2026-03-09 12:48:39 -0700
committerbndw <ben@bdw.to>2026-03-09 12:48:39 -0700
commit0bd392e076e36c80a152abe00cbcd0bc9efedd9c (patch)
tree2727cf8a030e675fa86082b56faf9fee4ddc45b1 /js
parent2c1ec8f9e964c2e89eee900299db667d9a58db25 (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 'js')
0 files changed, 0 insertions, 0 deletions