Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CartAPI ¶
type CartAPI struct {
Repository *data.CartRepository
}
func (*CartAPI) AddCartHandler ¶
func (c *CartAPI) AddCartHandler(res http.ResponseWriter, req *http.Request)
func (*CartAPI) EmptyCartHandler ¶
func (c *CartAPI) EmptyCartHandler(res http.ResponseWriter, req *http.Request)
func (*CartAPI) GetCartHandler ¶
func (c *CartAPI) GetCartHandler(res http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.