Documentation ¶
Index ¶
Constants ¶
View Source
const RetriesOnOptimisticLockException = 5
Variables ¶
This section is empty.
Functions ¶
func LoadAggregate ¶
func LoadAggregate(ctx context.Context, eventStore eventstore.AggregateStore, agg eventstore.Aggregate, options eventstore.LoadAggregateOptions) error
Types ¶
type EventStoreGenericService ¶
type EventStoreGenericService interface {
Store(ctx context.Context, event interface{}, aggregateOptions eventstore.LoadAggregateOptions) (*string, error)
}
func NewEventStoreGenericService ¶
func NewEventStoreGenericService(log logger.Logger, es eventstore.AggregateStore) EventStoreGenericService
Click to show internal directories.
Click to hide internal directories.