Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpOrderHandler ¶
type HttpOrderHandler struct {
// contains filtered or unexported fields
}
HttpOrderHandler model
func NewHttpOrderHandler ¶
func NewHttpOrderHandler(orderApp app.OrderApp) *HttpOrderHandler
NewHttpOrderHandler for initialise HttpOrderHandler model
func (*HttpOrderHandler) GetProduct ¶
func (h *HttpOrderHandler) GetProduct() http.Handler
GetProduct http handler function, for get product by ID
func (*HttpOrderHandler) GetProducts ¶
func (h *HttpOrderHandler) GetProducts() http.Handler
GetProducts http handler function, for get all products
Click to show internal directories.
Click to hide internal directories.