Repository navigation
v0.10.1
What's New
State Protocol Support
Added optional state/ package implementing the Durable Streams State Protocol for database-style state synchronization.
Features:
- Type-safe helpers using Go generics:
Insert,Update,Delete,UpdateWithOldValue,DeleteWithOldValue - Options pattern for configurable messages:
WithTxID,WithTimestamp,WithAutoTimestamp,WithEntityType Materializerthat processes state protocol messages and builds typed state from eventsStoreinterface with in-memory implementation for materializing stateTypedCollectionfor type-safe access to entity collections- Full JSON interoperability with durable-streams ecosystem
See the State Protocol section in README for usage examples.