package
0.0.6
Repository: https://github.com/stackus/edat.git
Documentation: pkg.go.dev

# Functions

NewConsumer constructs a new Consumer.
NewEventStore constructs a new EventStore.
NewProducer constructs a new Producer.
NewSagaInstanceStore constructs a new SagaInstanceStore.
NewSnapshotStore constructs a new SnapshotStore and returns es.AggregateRootStoreMiddleware.
WithConsumerLogger sets the log.Logger for Consumer.
WithProducerLogger sets the log.Logger for Producer.
WithSnapshotStoreStrategy sets the snapshotting strategy for SnapshotStore.

# Structs

Consumer implements msg.Consumer.
EventStore implements es.AggregateRootStore.
Producer implements msg.Producer.
SagaInstanceStore implements saga.InstanceStore.
SnapshotStore implements es.AggregateRootStore.

# Type aliases

ConsumerOption options for Consumer.
EventStoreOption options for EventStore.
ProducerOption options for Producer.
SnapshotStoreOption options for SnapshotStore.