Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandHandler ¶
type CreateOrder ¶
type CreateOrder struct { OrderID uint64 CustomerID uint64 Products *[]PurchasedProduct }
type CreateOrderHandler ¶
type CreateOrderHandler CommandHandler[CreateOrder]
func NewCreateOrderHandler ¶
func NewCreateOrderHandler(logger logger.Logger, orderRepo domain.OrderRepository) CreateOrderHandler
type DeleteOrder ¶
type DeleteOrder struct {
OrderID uint64
}
type DeleteOrderHandler ¶
type DeleteOrderHandler CommandHandler[DeleteOrder]
func NewDeleteOrderHandler ¶
func NewDeleteOrderHandler(logger logger.Logger, orderRepo domain.OrderRepository) DeleteOrderHandler
type PurchasedProduct ¶
Click to show internal directories.
Click to hide internal directories.