Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOrderInputDTO ¶
type CreateOrderOutputDTO ¶
type CreateOrderUseCase ¶
type CreateOrderUseCase struct {
// contains filtered or unexported fields
}
func NewCreateOrderUseCase ¶
func NewCreateOrderUseCase(repository entity.OrderRepository, event events.Event, dispatcher *events.EventDispatcher) *CreateOrderUseCase
func (*CreateOrderUseCase) Execute ¶
func (uc *CreateOrderUseCase) Execute(input CreateOrderInputDTO) (CreateOrderOutputDTO, error)
type ListOrdersOutputDTO ¶
type ListOrdersUseCase ¶
type ListOrdersUseCase struct {
// contains filtered or unexported fields
}
func NewListOrdersUseCase ¶
func NewListOrdersUseCase(repository entity.OrderRepository) *ListOrdersUseCase
func (*ListOrdersUseCase) Execute ¶
func (uc *ListOrdersUseCase) Execute() (ListOrdersOutputDTO, error)
Click to show internal directories.
Click to hide internal directories.