Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandHandlers ¶
type CommandHandlers struct { UpsertLocation UpsertLocationCommandHandler FailedLocationValidation FailedLocationValidationCommandHandler SkipLocationValidation SkippedLocationValidationCommandHandler LocationValidated LocationValidatedCommandHandler }
func NewCommandHandlers ¶
func NewCommandHandlers(log logger.Logger, cfg *config.Config, es eventstore.AggregateStore) *CommandHandlers
type FailedLocationValidationCommandHandler ¶
type FailedLocationValidationCommandHandler interface {
Handle(ctx context.Context, cmd *command.FailedLocationValidationCommand) error
}
func NewFailedLocationValidationCommandHandler ¶
func NewFailedLocationValidationCommandHandler(log logger.Logger, cfg *config.Config, es eventstore.AggregateStore) FailedLocationValidationCommandHandler
type LocationValidatedCommandHandler ¶
type LocationValidatedCommandHandler interface {
Handle(ctx context.Context, cmd *command.LocationValidatedCommand) error
}
func NewLocationValidatedCommandHandler ¶
func NewLocationValidatedCommandHandler(log logger.Logger, cfg *config.Config, es eventstore.AggregateStore) LocationValidatedCommandHandler
type SkippedLocationValidationCommandHandler ¶
type SkippedLocationValidationCommandHandler interface {
Handle(ctx context.Context, cmd *command.SkippedLocationValidationCommand) error
}
func NewSkippedLocationValidationCommandHandler ¶
func NewSkippedLocationValidationCommandHandler(log logger.Logger, cfg *config.Config, es eventstore.AggregateStore) SkippedLocationValidationCommandHandler
type UpsertLocationCommandHandler ¶
type UpsertLocationCommandHandler interface {
Handle(ctx context.Context, cmd *command.UpsertLocationCommand) error
}
func NewUpsertLocationHandler ¶
func NewUpsertLocationHandler(log logger.Logger, cfg *config.Config, es eventstore.AggregateStore) UpsertLocationCommandHandler
Click to show internal directories.
Click to hide internal directories.