Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreateJobRoleCommandHandler ¶
func NewCreateJobRoleCommandHandler(log logger.Logger, cfg *config.Config, es eventstore.AggregateStore) *createJobRoleCommandHandler
Types ¶
type CommandHandlers ¶
type CommandHandlers struct {
CreateJobRoleCommand CreateJobRoleCommandHander
}
func NewCommandHandlers ¶
func NewCommandHandlers(log logger.Logger, cfg *config.Config, es eventstore.AggregateStore) *CommandHandlers
type CreateJobRoleCommandHander ¶
type CreateJobRoleCommandHander interface {
Handle(ctx context.Context, command *model.CreateJobRoleCommand) error
}
Click to show internal directories.
Click to hide internal directories.