aggregate

package
v1.13.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 3 Imported by: 0

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 (*ExampleAggregate) OnRaw

func (a *ExampleAggregate) OnRaw(name string, version string, e []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL