Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProductHandler ¶
type ProductHandler struct {
// contains filtered or unexported fields
}
func NewProductHandler ¶
func NewProductHandler(service *services.ProductService) *ProductHandler
func (*ProductHandler) CreateProduct ¶
func (h *ProductHandler) CreateProduct(c *fiber.Ctx) error
func (*ProductHandler) DeleteProduct ¶
func (h *ProductHandler) DeleteProduct(c *fiber.Ctx) error
func (*ProductHandler) GetAllProducts ¶
func (h *ProductHandler) GetAllProducts(c *fiber.Ctx) error
func (*ProductHandler) GetProduct ¶
func (h *ProductHandler) GetProduct(c *fiber.Ctx) error
func (*ProductHandler) UpdateProduct ¶
func (h *ProductHandler) UpdateProduct(c *fiber.Ctx) error
Click to show internal directories.
Click to hide internal directories.