Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
Application is based on the CQRS pattern. It is meant to be used to store all the commands and queries.
func Initialize ¶
func Initialize(ctx context.Context) (*Application, error)
type Commands ¶
type Commands struct { //CreateTodo is the CQRS command to create a new todo. CreateTodo handler.Handler[commands.CreateTodoCommand, *commands.CreateTodoResponse] // AddTodoTask is the CQRS command to add a new task to a todo. AddTodoTask handler.Handler[commands.AddTodoTaskCommand, *commands.AddTodoTaskResponse] }
Click to show internal directories.
Click to hide internal directories.