# Functions
DefaultFilterWindowMax returns a default value for a maximum number of events to read with filter from streams $all.
NewClient create a new event streams client.
# Constants
AppendToStream_FailedSendHeaderErr indicates that client received an unknown error when it tried to send a header to a protobuf stream.
AppendToStream_FailedSendMessageErr indicates that there was an unknown error received when client tried to append an event to a EventStoreDB stream.
AppendToStream_FailedToCloseStreamErr indicates that there was an unknown error when client tried to close the protobuf stream after it has written all events to an EventStoreDB stream.
AppendToStream_FailedToObtainWriterErr indicates that client failed to receive a protobuf append client.
BatchAppendToStream_FailedSendMessageErr indicates that there was an unknown error received when client tried to append a chunk of events to a EventStoreDB stream.
BatchAppendToStream_FailedToCloseStreamErr indicates that there was an unknown error when client tried to close the protobuf stream after it has written all event chunks to an EventStoreDB stream.
BatchAppendToStream_FailedToObtainWriterErr indicates that client failed to receive a protobuf append client.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FailedToDeleteStreamErr indicates that client's Client.DeleteStream received an unknown error when it tried to soft-delete an EventStoreDB stream.
FailedToObtainStreamReaderErr indicates that client received an unknown error when it tried to construct a protobuf stream reader client.
No description provided by the author
FailedToTombstoneStreamErr indicates that client's Client.TombstoneStream received an unknown error when it tried to soft-delete an EventStoreDB stream.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
AppendResponse is returned from Client.AppendToStream when events are written successfully.
BatchAppendResponse is a response returned by EventStoreDB after an entire batch of events (all chunks) were appended to a stream in EventStoreDB.
BatchError is an error which can occur when chunks of events are appended to a stream in EventStoreDB.
Client which can interact with EventStoreDB streams.
DeleteResponse is response received when stream is soft-deleted by using Client.DeleteStream.
ErrorDetails represents various details about an error EventStore might sent to us.
Filter is used to specify a filter when reading events from stream $all.
FilterByEventType sets a filter matcher for stream $all to match by event type.
FilterByStreamId sets a filter matcher for stream $all to match by stream ID.
FilterNoWindow is used when we do not want to set the maximum number of events to receive as a result.
FilterWindowMax is a maximum number of events that we want to receive as a result.
Position represents event's position in stream $all.
PrefixFilterMatcher represents a list of prefixes used to match against event type or a stream ID.
ProposedEvent represents an event we want to append to a stream.
ReadResponse represents a response received when reading a stream.
ReadResponseCheckpoint represents a checkpoint stored in a stream.
RecordedEvent represents an event recorded in the EventStoreDB.
RegexFilterMatcher represents a regex used to match event type or a stream identifier.
ResolvedEvent is an event received from a stream.
StreamAcl represents an access control list for a stream.
StreamMetadata is the metadata of a stream.
StreamMetadataResult is stream's metadata read by Client.GetStreamMetadata.
StreamNotFoundError is an error returned if we tried to read a stream which does not exist.
TombstoneResponse is response received when stream is hard-deleted by using Client.TombstoneStream.
WrongExpectedVersion is an error returned when writing events to a stream fails gracefully.
# Interfaces
StreamReader is an interface which represents a reader of a stream.
# Type aliases
ContentType represents the content type of the events stored in EventStoreDB.
CustomMetadataType is shorthand type for user defined metadata of a stream.
ProposedEventList represents a slice of events.
ReadDirection specifies a direction in which a stream will be read.
ResolvedEventList is a shorthand type for slice of events.