Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandHandler ¶
type CommandHandler interface {
Handle() error
}
func NewCommandHandler ¶
func NewCommandHandler(consumer meesage_broker.Consumer, command app.Command, logger log.Logger) CommandHandler
type CommandsHandlers ¶
type CommandsHandlers struct {
// contains filtered or unexported fields
}
func New ¶
func New(logger log.Logger, consumer meesage_broker.Consumer, signUp *command.SignUp, createTodoList *command.CreateTodoList, createTodo *command.CreateTodo, deleteTodoList *command.DeleteTodoList, ) (*CommandsHandlers, error)
type ConsumeCommandHandler ¶
type ConsumeCommandHandler struct {
// contains filtered or unexported fields
}
func (ConsumeCommandHandler) Handle ¶
func (h ConsumeCommandHandler) Handle() error
Click to show internal directories.
Click to hide internal directories.