# Functions
NewEventStore creates a new EventStore with a MongoDB URI: `mongodb://hostname`.
NewEventStoreWithClient creates a new EventStore with a client.
NewMongoDBEventStore creates a new EventStore using the eventhorizon.MongoDB interface.
WithCollectionNames uses different collections from the default "events" and "streams" collections.
WithEventHandler adds an event handler that will be called after saving events.
WithEventHandlerInTX adds an event handler that will be called during saving of events.
WithSnapshotCollectionName uses different collections from the default "snapshots" collections.
# Structs
EventStore is an eventhorizon.EventStore for MongoDB, using one collection for all events and another to keep track of all aggregates/streams.
No description provided by the author
# Type aliases
Option is an option setter used to configure creation.