Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddToCartRequest ¶
type CartHandler ¶
type CartHandler interface { MainHttpd() ShowItems() gin.HandlerFunc AddToCart() gin.HandlerFunc DeleteFromCart() gin.HandlerFunc }
func NewCartHandler ¶
func NewCartHandler(cs service.CartManagementService) CartHandler
type DeleteFromCartRequest ¶
type DeleteFromCartRequest struct {
CartId string `json:"cart_id"`
}
type GetItemsRequest ¶
type GetItemsRequest struct {
User string `json:"user"`
}
type OrderFromCartRequest ¶
type OrderFromCartRequest struct {
User string `json:"user"`
}
Click to show internal directories.
Click to hide internal directories.