Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CartHandler ¶
type CartHandler struct {
// contains filtered or unexported fields
}
func NewCartHandler ¶
func NewCartHandler(service *application.CartService, logger *zap.Logger, tp telemetry.Provider) *CartHandler
func (*CartHandler) AddToCart ¶
func (h *CartHandler) AddToCart(w http.ResponseWriter, r *http.Request)
func (*CartHandler) CreateCart ¶
func (h *CartHandler) CreateCart(w http.ResponseWriter, r *http.Request)
func (*CartHandler) EmptyCart ¶
func (h *CartHandler) EmptyCart(w http.ResponseWriter, r *http.Request)
func (*CartHandler) GetCart ¶
func (h *CartHandler) GetCart(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.