summaryrefslogtreecommitdiffstats
path: root/internal/storage/query_test.go
diff options
context:
space:
mode:
authorbndw <ben@bdw.to>2026-02-13 17:41:13 -0800
committerbndw <ben@bdw.to>2026-02-13 17:41:13 -0800
commita6502c0888613bd0377a25e43de8ae306c4de4d7 (patch)
tree7e6b9eaaafbd97d3d0ef5007e392fa7b91e35f6c /internal/storage/query_test.go
parentaf30945803d440d1f803c814f4a37a1890494f1d (diff)
feat: add SQLite storage layer with binary-first event persistence
Storage implementation: - Concrete type with constructor (consumer-side interfaces) - Event storage: protobuf + zstd-compressed canonical JSON - Schema: events, deletions, replaceable_events, auth_challenges, rate_limits - WAL mode, STRICT typing, optimized indexes - Methods: StoreEvent, GetEvent, GetEventWithCanonical, DeleteEvent Dependencies: - modernc.org/sqlite v1.45.0 (pure Go SQLite driver) - github.com/klauspost/compress v1.18.4 (zstd compression) 366 lines, 10 tests passing
Diffstat (limited to 'internal/storage/query_test.go')
0 files changed, 0 insertions, 0 deletions