package
2.1.0
Repository: https://github.com/hellofresh/goengine.git
Documentation: pkg.go.dev

# Functions

NewEventStore return a new inmemory.EventStore.
NewEventStream return a new EventStream containing the given messages.
NewMetadataMatcher returns a new metadata matcher based of off the metadata.Matcher.

# Variables

ErrDuplicatePayloadType occurs when a payload type is already registered.
ErrEventStreamClosed occurs when an eventstream is closed.
ErrEventStreamNotStarted occurs when an eventstream Message or MessageNumber is called before Next.
ErrMessageNumberCountMismatch occurs when the provided messages and numbers do not have the same length.
ErrNilMessage occurs when a goengine.Message that is being appended to a stream is nil or a reference to nil.
ErrStreamExistsAlready occurs when create is called for an already created stream.
ErrStreamNotFound occurs when an unknown streamName is provided.
ErrTypeMismatch occurs when a metadata value cannot be converted to the constraints value type.
ErrUnknownPayloadType occurs when a payload type is unknown.
ErrUnsupportedOperator occurs when a constraints operation is not supported for a type.
No description provided by the author

# Structs

EventStore an in memory event store implementation.
EventStream an inmemory eventstore.EventStream implementation.
No description provided by the author
No description provided by the author
PayloadRegistry is a registry containing the mapping of a payload type to an event name.

# Type aliases

No description provided by the author