Documentation ¶
Index ¶
- type ProductController
- type SellerController
- func (sc *SellerController) CreateSellerController(c echo.Context) error
- func (sc *SellerController) DeleteSellerController(c echo.Context) error
- func (sc *SellerController) GetAllSellersController(c echo.Context) error
- func (sc *SellerController) GetSellerByIdController(c echo.Context) error
- func (sc *SellerController) PutSellerController(c echo.Context) error
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
Click to show internal directories.
Click to hide internal directories.