Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOrderHttpHandler ¶
type CreateOrderHttpHandler struct { EventDispatcher events.EventDispatcherInterface OrderRepository entity.OrderRepositoryInterface OrderCreatedEvent events.EventInterface }
func NewWebOrderHandler ¶
func NewWebOrderHandler( EventDispatcher events.EventDispatcherInterface, OrderRepository entity.OrderRepositoryInterface, OrderCreatedEvent events.EventInterface, ) *CreateOrderHttpHandler
func (*CreateOrderHttpHandler) Create ¶
func (h *CreateOrderHttpHandler) Create(w http.ResponseWriter, r *http.Request)
type ListOrdersHandler ¶
type ListOrdersHandler struct {
// contains filtered or unexported fields
}
func NewListOrdersHandler ¶
func NewListOrdersHandler(orderRepository entity.OrderRepositoryInterface) *ListOrdersHandler
func (*ListOrdersHandler) List ¶
func (l *ListOrdersHandler) List(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.