Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OrderController ¶
type OrderController interface { CreateOrder(w http.ResponseWriter, r *http.Request) UpdateOrderStatusShipped(w http.ResponseWriter, r *http.Request) UpdateOrderStatusDelivered(w http.ResponseWriter, r *http.Request) GetOrdersHistory(w http.ResponseWriter, r *http.Request) }
OrderController interface for orders
func NewController ¶
func NewController(orderService service.OrderService, tokenService service.TokenService) OrderController
NewController constructor for controller layer
Click to show internal directories.
Click to hide internal directories.