Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSnapshotStore ¶
Types ¶
type EventStore ¶
type EventStore struct {
// contains filtered or unexported fields
}
func NewEventStore ¶
func (EventStore) Load ¶
func (s EventStore) Load(ctx context.Context, aggregate es.EventSourcedAggregate) (err error)
func (EventStore) Save ¶
func (s EventStore) Save(ctx context.Context, aggregate es.EventSourcedAggregate) (err error)
type SnapshotStore ¶
type SnapshotStore struct { es.AggregateStore // contains filtered or unexported fields }
func (SnapshotStore) Load ¶
func (s SnapshotStore) Load(ctx context.Context, aggregate es.EventSourcedAggregate) error
func (SnapshotStore) Save ¶
func (s SnapshotStore) Save(ctx context.Context, aggregate es.EventSourcedAggregate) error
Click to show internal directories.
Click to hide internal directories.