Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloseLooseOpportunityCommandHandler ¶
type CloseLooseOpportunityCommandHandler interface {
Handle(ctx context.Context, cmd *command.CloseLooseOpportunityCommand) error
}
func NewCloseLooseOpportunityCommandHandler ¶
func NewCloseLooseOpportunityCommandHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils) CloseLooseOpportunityCommandHandler
type CommandHandlers ¶
type CommandHandlers struct { UpdateRenewalOpportunityNextCycleDate UpdateRenewalOpportunityNextCycleDateCommandHandler CloseLooseOpportunity CloseLooseOpportunityCommandHandler }
CommandHandlers acts as a container for all command handlers.
func NewCommandHandlers ¶
func NewCommandHandlers(log logger.Logger, cfg *config.Config, es eventstore.AggregateStore) *CommandHandlers
type UpdateRenewalOpportunityNextCycleDateCommandHandler ¶
type UpdateRenewalOpportunityNextCycleDateCommandHandler interface {
Handle(ctx context.Context, cmd *command.UpdateRenewalOpportunityNextCycleDateCommand) error
}
func NewUpdateRenewalOpportunityNextCycleDateCommandHandler ¶
func NewUpdateRenewalOpportunityNextCycleDateCommandHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils) UpdateRenewalOpportunityNextCycleDateCommandHandler
Click to show internal directories.
Click to hide internal directories.