Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApproveOrder ¶
type ApproveOrderHandler ¶
type ApproveOrderHandler struct {
// contains filtered or unexported fields
}
func NewApproveOrderHandler ¶
func NewApproveOrderHandler(orders domain.OrderRepository, publisher ddd.EventPublisher[ddd.Event]) ApproveOrderHandler
func (ApproveOrderHandler) ApproveOrder ¶
func (h ApproveOrderHandler) ApproveOrder(ctx context.Context, cmd ApproveOrder) error
type CancelOrder ¶
type CancelOrder struct {
ID string
}
type CancelOrderHandler ¶
type CancelOrderHandler struct {
// contains filtered or unexported fields
}
func NewCancelOrderHandler ¶
func NewCancelOrderHandler(orders domain.OrderRepository, publisher ddd.EventPublisher[ddd.Event]) CancelOrderHandler
func (CancelOrderHandler) CancelOrder ¶
func (h CancelOrderHandler) CancelOrder(ctx context.Context, cmd CancelOrder) error
type CompleteOrder ¶
type CompleteOrderHandler ¶
type CompleteOrderHandler struct {
// contains filtered or unexported fields
}
func NewCompleteOrderHandler ¶
func NewCompleteOrderHandler(orders domain.OrderRepository, publisher ddd.EventPublisher[ddd.Event]) CompleteOrderHandler
func (CompleteOrderHandler) CompleteOrder ¶
func (h CompleteOrderHandler) CompleteOrder(ctx context.Context, cmd CompleteOrder) error
type CreateOrder ¶
type CreateOrderHandler ¶
type CreateOrderHandler struct {
// contains filtered or unexported fields
}
func NewCreateOrderHandler ¶
func NewCreateOrderHandler(orders domain.OrderRepository, publisher ddd.EventPublisher[ddd.Event]) CreateOrderHandler
func (CreateOrderHandler) CreateOrder ¶
func (h CreateOrderHandler) CreateOrder(ctx context.Context, cmd CreateOrder) error
type ReadyOrder ¶
type ReadyOrder struct {
ID string
}
type ReadyOrderHandler ¶
type ReadyOrderHandler struct {
// contains filtered or unexported fields
}
func NewReadyOrderHandler ¶
func NewReadyOrderHandler(orders domain.OrderRepository, publisher ddd.EventPublisher[ddd.Event]) ReadyOrderHandler
func (ReadyOrderHandler) ReadyOrder ¶
func (h ReadyOrderHandler) ReadyOrder(ctx context.Context, cmd ReadyOrder) error
type RejectOrder ¶
type RejectOrder struct {
ID string
}
type RejectOrderHandler ¶
type RejectOrderHandler struct {
// contains filtered or unexported fields
}
func NewRejectOrderHandler ¶
func NewRejectOrderHandler(orders domain.OrderRepository, publisher ddd.EventPublisher[ddd.Event]) RejectOrderHandler
func (RejectOrderHandler) RejectOrder ¶
func (h RejectOrderHandler) RejectOrder(ctx context.Context, cmd RejectOrder) error
Click to show internal directories.
Click to hide internal directories.