update readmes so they're less outdated.

This commit is contained in:
fiatjaf
2025-09-22 17:05:17 -03:00
parent 04e095eb1b
commit fd9f956a3d
5 changed files with 64 additions and 24 deletions
+11 -2
View File
@@ -1,2 +1,11 @@
`nullstore` is an eventstore that doesn't actually do anything.
It doesn't store anything, it doesn't return anything.
# NullStore
`nullstore` is a no-op implementation of the eventstore interface that doesn't actually store or retrieve any events.
All operations succeed without error but have no effect:
- `SaveEvent` and `ReplaceEvent` do nothing
- `QueryEvents` returns an empty iterator
- `DeleteEvent` does nothing
- `CountEvents` returns 0
This is useful for testing, development environments, or when event persistence is not required.