diff options
| author | bndw <ben@bdw.to> | 2026-03-09 08:01:02 -0700 |
|---|---|---|
| committer | bndw <ben@bdw.to> | 2026-03-09 08:01:02 -0700 |
| commit | 61a85baf87d89fcc09f9469a113a2ddc982b0a24 (patch) | |
| tree | d8359ce5cbcbb9402ba92c617c4ebd702adf33e9 /relay/go.mod | |
| parent | ce684848e25fed3aabdde4ffba6d2d8c40afa030 (diff) | |
feat: phase 2 relay implementation
Implement the Axon relay as relay/ (module axon/relay). Includes:
- WebSocket framing (RFC 6455, no external deps) in relay/websocket/
- Per-connection auth: challenge/response with ed25519 + allowlist check
- Ingest pipeline: sig verify, dedup, ephemeral fanout, SQLite persistence
- Subscription manager with prefix-matching filter fanout in relay/subscription/
- SQLite storage with WAL/cache config and UNION query builder in relay/storage/
- Graceful shutdown on SIGINT/SIGTERM
- Filter/TagFilter types added to axon core package (required by relay)
Diffstat (limited to 'relay/go.mod')
| -rw-r--r-- | relay/go.mod | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/relay/go.mod b/relay/go.mod new file mode 100644 index 0000000..a3d424a --- /dev/null +++ b/relay/go.mod | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | module axon/relay | ||
| 2 | |||
| 3 | go 1.25.5 | ||
| 4 | |||
| 5 | require ( | ||
| 6 | axon v0.0.0 | ||
| 7 | github.com/vmihailenco/msgpack/v5 v5.4.1 | ||
| 8 | gopkg.in/yaml.v3 v3.0.1 | ||
| 9 | modernc.org/sqlite v1.33.1 | ||
| 10 | ) | ||
| 11 | |||
| 12 | require ( | ||
| 13 | github.com/dustin/go-humanize v1.0.1 // indirect | ||
| 14 | github.com/google/uuid v1.6.0 // indirect | ||
| 15 | github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect | ||
| 16 | github.com/mattn/go-isatty v0.0.20 // indirect | ||
| 17 | github.com/ncruces/go-strftime v0.1.9 // indirect | ||
| 18 | github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect | ||
| 19 | github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect | ||
| 20 | golang.org/x/crypto v0.48.0 // indirect | ||
| 21 | golang.org/x/sys v0.41.0 // indirect | ||
| 22 | modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6 // indirect | ||
| 23 | modernc.org/libc v1.55.3 // indirect | ||
| 24 | modernc.org/mathutil v1.6.0 // indirect | ||
| 25 | modernc.org/memory v1.8.0 // indirect | ||
| 26 | modernc.org/strutil v1.2.0 // indirect | ||
| 27 | modernc.org/token v1.1.0 // indirect | ||
| 28 | ) | ||
| 29 | |||
| 30 | replace axon => ../ | ||
