handlers

package
v0.0.0-...-7756f97 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2024 License: MIT Imports: 10 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL