# Functions

NewEventStore creates a new EventStore with a MongoDB URI: `mongodb://hostname`.
NewEventStoreWithClient creates a new EventStore with a client.
WithEventHandler adds an event handler that will be called when saving events.

# Structs

EventStore is an eventhorizon.EventStore for MongoDB, using one collection for all events and another to keep track of all aggregates/streams.

# Type aliases

Option is an option setter used to configure creation.