Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignShoppingList ¶
type AssignShoppingListHandler ¶
type AssignShoppingListHandler struct {
// contains filtered or unexported fields
}
func NewAssignShoppingListHandler ¶
func NewAssignShoppingListHandler(shoppingList domain.ShoppingListRepository, domainPublisher ddd.EventPublisher[ddd.AggregateEvent], ) AssignShoppingListHandler
func (AssignShoppingListHandler) AssignShoppingList ¶
func (h AssignShoppingListHandler) AssignShoppingList(ctx context.Context, cmd AssignShoppingList) error
type CancelShoppingList ¶
type CancelShoppingList struct {
ID string
}
type CancelShoppingListHandler ¶
type CancelShoppingListHandler struct {
// contains filtered or unexported fields
}
func NewCancelShoppingListHandler ¶
func NewCancelShoppingListHandler(shoppingLists domain.ShoppingListRepository, domainPublisher ddd.EventPublisher[ddd.AggregateEvent], ) CancelShoppingListHandler
func (CancelShoppingListHandler) CancelShoppingList ¶
func (h CancelShoppingListHandler) CancelShoppingList(ctx context.Context, cmd CancelShoppingList) error
type CompleteShoppingList ¶
type CompleteShoppingList struct {
ID string
}
type CompleteShoppingListHandler ¶
type CompleteShoppingListHandler struct {
// contains filtered or unexported fields
}
func NewCompleteShoppingListHandler ¶
func NewCompleteShoppingListHandler(shoppingLists domain.ShoppingListRepository, domainPublisher ddd.EventPublisher[ddd.AggregateEvent], ) CompleteShoppingListHandler
func (CompleteShoppingListHandler) CompleteShoppingList ¶
func (h CompleteShoppingListHandler) CompleteShoppingList(ctx context.Context, cmd CompleteShoppingList) error
type CreateShoppingList ¶
type CreateShoppingListHandler ¶
type CreateShoppingListHandler struct {
// contains filtered or unexported fields
}
func NewCreateShoppingListHandler ¶
func NewCreateShoppingListHandler(shoppingLists domain.ShoppingListRepository, stores domain.StoreRepository, products domain.ProductRepository, domainPublisher ddd.EventPublisher[ddd.AggregateEvent], ) CreateShoppingListHandler
func (CreateShoppingListHandler) CreateShoppingList ¶
func (h CreateShoppingListHandler) CreateShoppingList(ctx context.Context, cmd CreateShoppingList) error
Click to show internal directories.
Click to hide internal directories.