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

# Packages

No description provided by the author

# Functions

NewEventStore creates a new EventStore with a Postgres URI: `postgres://user:password@hostname:port/db?options`.
No description provided by the author
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 PostgreSQL, 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.