Documentation ¶
Index ¶
Constants ¶
View Source
const AggregateIdentifier = "configuration-aggregate"
Variables ¶
This section is empty.
Functions ¶
func HandleChangePropertyCommand ¶
func HandleChangePropertyCommand(commandMessage *axon_server.Command, clientConnection *axon_utils.ClientConnection) (*axon_utils.Error, error)
Types ¶
type Projection ¶
type Projection struct { Configuration map[string]string AggregateState axon_utils.AggregateState }
func RestoreProjection ¶
func RestoreProjection(aggregateIdentifier string, clientConnection *axon_utils.ClientConnection) *Projection
func (*Projection) Apply ¶
func (projection *Projection) Apply(event axon_utils.Event)
func (*Projection) GetAggregateState ¶
func (projection *Projection) GetAggregateState() axon_utils.AggregateState
type PropertyChangedEvent ¶
type PropertyChangedEvent struct {
grpc_example.PropertyChangedEvent
}
Redeclare event types, so that they can be extended with event handler methods.
func (*PropertyChangedEvent) ApplyTo ¶
func (event *PropertyChangedEvent) ApplyTo(projectionWrapper interface{})
Click to show internal directories.
Click to hide internal directories.