Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerFunc ¶ added in v0.8.0
type Id ¶
func (Id) WithEntity ¶
convenience method to construct an entity id from another
type Message ¶
type Message struct { Number int64 // place in the stream, starting at 1 GlobalNumber int64 // Ordering across all messages in this Event Source Stream Id // name of the stream this message belongs to Type string // name of the type of the message Data interface{} // instance of the given Group CorrelationId string // Application generated id to correlate messages Time time.Time // time the message was first recorded }
type NamedSnapshot ¶
type NamedSnapshot interface {
SnapshotName() string
}
Marker interface used to indicate that a view or projection supports snapshotting. The provided name is used to store the instance as a json blob.
Click to show internal directories.
Click to hide internal directories.