Documentation ¶
Overview ¶
Package event_store - implementation of event store
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventSourcing ¶
type EventSourcing interface { Save(ctx context.Context, events []*eventsourcing.Event) error SafeSave(ctx context.Context, events []*eventsourcing.Event) error Load(ctx context.Context, aggregateID string) (*eventsourcing.Snapshot, []*eventsourcing.Event, error) GetAggregateWithoutSnapshot(ctx context.Context) ([]*eventsourcing.BaseAggregate, error) SaveSnapshot(ctx context.Context, snapshot *eventsourcing.Snapshot) error }
EventSourcing - interface for event store
Click to show internal directories.
Click to hide internal directories.