rest

package
v0.0.0-...-7dccc21 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProductController

type ProductController struct {
	// contains filtered or unexported fields
}

func NewProductController

func NewProductController(e *echo.Echo, service interfaces.ProductService) *ProductController

func (*ProductController) CreateProductController

func (pc *ProductController) CreateProductController(c echo.Context) error

func (*ProductController) GetAllProductsController

func (pc *ProductController) GetAllProductsController(c echo.Context) error

func (*ProductController) GetProductByIdController

func (pc *ProductController) GetProductByIdController(c echo.Context) error

type SellerController

type SellerController struct {
	// contains filtered or unexported fields
}

func NewSellerController

func NewSellerController(e *echo.Echo, service interfaces.SellerService) *SellerController

func (*SellerController) CreateSellerController

func (sc *SellerController) CreateSellerController(c echo.Context) error

func (*SellerController) DeleteSellerController

func (sc *SellerController) DeleteSellerController(c echo.Context) error

func (*SellerController) GetAllSellersController

func (sc *SellerController) GetAllSellersController(c echo.Context) error

func (*SellerController) GetSellerByIdController

func (sc *SellerController) GetSellerByIdController(c echo.Context) error

func (*SellerController) PutSellerController

func (sc *SellerController) PutSellerController(c echo.Context) error

Directories

Path Synopsis
dto

Jump to

Keyboard shortcuts

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