mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +00:00
13 lines
360 B
Go
13 lines
360 B
Go
package eventstore
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Eventstore interface {
|
|
Health(ctx context.Context) error
|
|
PushAggregates(ctx context.Context, aggregates ...*Aggregate) error
|
|
FilterEvents(ctx context.Context, searchQuery *SearchQueryFactory) (events []*Event, err error)
|
|
LatestSequence(ctx context.Context, searchQuery *SearchQueryFactory) (uint64, error)
|
|
}
|