Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler(db *sql.DB) *AuthHandler
func (*AuthHandler) Login ¶
func (h *AuthHandler) Login(c echo.Context) error
func (*AuthHandler) Register ¶
func (h *AuthHandler) Register(c echo.Context) error
type CartHandler ¶
type CartHandler struct {
// contains filtered or unexported fields
}
func NewCartHandler ¶
func NewCartHandler(db *sql.DB) *CartHandler
func (*CartHandler) AddItemToCart ¶
func (h *CartHandler) AddItemToCart(c echo.Context) error
func (*CartHandler) ClearCart ¶
func (h *CartHandler) ClearCart(c echo.Context) error
func (*CartHandler) FetchCart ¶
func (h *CartHandler) FetchCart(c echo.Context) error
func (*CartHandler) RemoveFromCart ¶
func (h *CartHandler) RemoveFromCart(c echo.Context) error
type ProductHandler ¶
type ProductHandler struct {
// contains filtered or unexported fields
}
func NewProductHandler ¶
func NewProductHandler(db *sql.DB) *ProductHandler
func (*ProductHandler) FetchProductById ¶
func (h *ProductHandler) FetchProductById(c echo.Context) error
func (*ProductHandler) FetchProducts ¶
func (h *ProductHandler) FetchProducts(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.