handlers

package
v0.0.0-...-01a1143 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

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