Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandHandlers ¶
type CommandHandlers struct { CreateMasterPlan CreateMasterPlanCommandHandler UpdateMasterPlan UpdateMasterPlanCommandHandler CreateMasterPlanMilestone CreateMasterPlanMilestoneCommandHandler UpdateMasterPlanMilestone UpdateMasterPlanMilestoneCommandHandler ReorderMasterPlanMilestones ReorderMasterPlanMilestonesCommandHandler }
CommandHandlers acts as a container for all command handlers.
func NewCommandHandlers ¶
func NewCommandHandlers(log logger.Logger, cfg *config.Config, es eventstore.AggregateStore) *CommandHandlers
type CreateMasterPlanCommandHandler ¶
type CreateMasterPlanCommandHandler interface {
Handle(ctx context.Context, cmd *command.CreateMasterPlanCommand) error
}
func NewCreateMasterPlanCommandHandler ¶
func NewCreateMasterPlanCommandHandler(log logger.Logger, es eventstore.AggregateStore) CreateMasterPlanCommandHandler
type CreateMasterPlanMilestoneCommandHandler ¶
type CreateMasterPlanMilestoneCommandHandler interface {
Handle(ctx context.Context, cmd *command.CreateMasterPlanMilestoneCommand) error
}
func NewCreateMasterPlanMilestoneCommandHandler ¶
func NewCreateMasterPlanMilestoneCommandHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils) CreateMasterPlanMilestoneCommandHandler
type ReorderMasterPlanMilestonesCommandHandler ¶
type ReorderMasterPlanMilestonesCommandHandler interface {
Handle(ctx context.Context, cmd *command.ReorderMasterPlanMilestonesCommand) error
}
func NewReorderMasterPlanMilestonesCommandHandler ¶
func NewReorderMasterPlanMilestonesCommandHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils) ReorderMasterPlanMilestonesCommandHandler
type UpdateMasterPlanCommandHandler ¶
type UpdateMasterPlanCommandHandler interface {
Handle(ctx context.Context, cmd *command.UpdateMasterPlanCommand) error
}
func NewUpdateMasterPlanCommandHandler ¶
func NewUpdateMasterPlanCommandHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils) UpdateMasterPlanCommandHandler
type UpdateMasterPlanMilestoneCommandHandler ¶
type UpdateMasterPlanMilestoneCommandHandler interface {
Handle(ctx context.Context, cmd *command.UpdateMasterPlanMilestoneCommand) error
}
func NewUpdateMasterPlanMilestoneCommandHandler ¶
func NewUpdateMasterPlanMilestoneCommandHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils) UpdateMasterPlanMilestoneCommandHandler
Click to show internal directories.
Click to hide internal directories.