Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FormatterBase ¶
type FormatterBase struct {
EsClient esApi.EventStoreClient
}
FormatterBase is the base implementation for all audit formatters
func (*FormatterBase) CreateSnapshot ¶
func (f *FormatterBase) CreateSnapshot(ctx context.Context, projector es.Projector, eventFilter *esApi.EventFilter) (es.Projection, error)
CreateSnapshot creates a snapshot based on an event-filter and the corresponding projector for the aggregate of which the id is used in the filter. This is a temporary implementation until snapshots are fully implemented, and it is not meant to be used extensively.
Click to show internal directories.
Click to hide internal directories.