configuration_command

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: MIT Imports: 5 Imported by: 0

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_config.PropertyChangedEvent
}

Redeclare event types, so that they can be extended with event handler methods.

func (*PropertyChangedEvent) ApplyTo

func (event *PropertyChangedEvent) ApplyTo(projectionWrapper interface{})

Jump to

Keyboard shortcuts

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