Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlaBlubEvent ¶
type BlaBlubEvent struct { M eventsourcing.Meta `json:"meta"` FirstValue string `json:"first_value"` SecondValue string `json:"second_value"` }
func (*BlaBlubEvent) Meta ¶
func (e *BlaBlubEvent) Meta() eventsourcing.Meta
type ExampleAggregate ¶
type ExampleAggregate struct { First string Second string // contains filtered or unexported fields }
func NewExampleAggregate ¶
func NewExampleAggregate(id eventsourcing.AggregateID) *ExampleAggregate
func (*ExampleAggregate) AggregateID ¶
func (a *ExampleAggregate) AggregateID() eventsourcing.AggregateID
func (*ExampleAggregate) Events ¶
func (a *ExampleAggregate) Events() []eventsourcing.Event
func (*ExampleAggregate) On ¶
func (a *ExampleAggregate) On(e eventsourcing.Event) error
Click to show internal directories.
Click to hide internal directories.