Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddRoleCommandHandler ¶
type AddRoleCommandHandler interface {
Handle(ctx context.Context, command *command.AddRoleCommand) error
}
func NewAddRoleCommandHandler ¶
func NewAddRoleCommandHandler(log logger.Logger, cfg *config.Config, es eventstore.AggregateStore) AddRoleCommandHandler
type CommandHandlers ¶
type CommandHandlers struct { AddRole AddRoleCommandHandler RemoveRole RemoveRoleCommandHandler LinkJobRoleCommand LinkJobRoleCommandHandler }
func NewCommandHandlers ¶
func NewCommandHandlers(log logger.Logger, cfg *config.Config, es eventstore.AggregateStore) *CommandHandlers
type LinkJobRoleCommandHandler ¶
type LinkJobRoleCommandHandler interface {
Handle(ctx context.Context, command *command.LinkJobRoleCommand) error
}
func NewLinkJobRoleCommandHandler ¶
func NewLinkJobRoleCommandHandler(log logger.Logger, cfg *config.Config, es eventstore.AggregateStore) LinkJobRoleCommandHandler
type RemoveRoleCommandHandler ¶
type RemoveRoleCommandHandler interface {
Handle(ctx context.Context, command *command.RemoveRoleCommand) error
}
func NewRemoveRoleCommandHandler ¶
func NewRemoveRoleCommandHandler(log logger.Logger, cfg *config.Config, es eventstore.AggregateStore) RemoveRoleCommandHandler
Click to show internal directories.
Click to hide internal directories.