package
0.3.0
Repository: https://github.com/gingfrederik/eventhorizon.git
Documentation: pkg.go.dev

# Functions

NewEventStore creates a new EventStore with a MongoDB URI: `mongodb://hostname`.
NewEventStoreWithClient creates a new EventStore with a client.
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.

# 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.