Documentation
¶
Index ¶
- type AuthHandler
- type CartHandler
- type HandlerOption
- type HealthCheckHandler
- type ProductHandler
- func (ph *ProductHandler) CreateProduct(c echo.Context) error
- func (ph *ProductHandler) DeleteProduct(c echo.Context) error
- func (ph *ProductHandler) GetAllProduct(c echo.Context) error
- func (ph *ProductHandler) GetProductById(c echo.Context) error
- func (ph *ProductHandler) GetProductByIdUser(c echo.Context) error
- func (ph *ProductHandler) UpdateProduct(c echo.Context) error
- type UserHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶
type AuthHandler struct {
HandlerOption
}
type CartHandler ¶
type CartHandler struct {
HandlerOption
}
func (CartHandler) DeleteCart ¶
func (ch CartHandler) DeleteCart(ctx echo.Context) error
func (CartHandler) UpdateCart ¶
func (ch CartHandler) UpdateCart(ctx echo.Context) error
type HealthCheckHandler ¶
type HealthCheckHandler struct {
HandlerOption
}
func (HealthCheckHandler) HealthCheck ¶
func (h HealthCheckHandler) HealthCheck(ctx echo.Context) (err error)
type ProductHandler ¶
type ProductHandler struct {
HandlerOption
}
func (*ProductHandler) CreateProduct ¶
func (ph *ProductHandler) CreateProduct(c echo.Context) error
func (*ProductHandler) DeleteProduct ¶
func (ph *ProductHandler) DeleteProduct(c echo.Context) error
func (*ProductHandler) GetAllProduct ¶
func (ph *ProductHandler) GetAllProduct(c echo.Context) error
func (*ProductHandler) GetProductById ¶
func (ph *ProductHandler) GetProductById(c echo.Context) error
func (*ProductHandler) GetProductByIdUser ¶
func (ph *ProductHandler) GetProductByIdUser(c echo.Context) error
func (*ProductHandler) UpdateProduct ¶
func (ph *ProductHandler) UpdateProduct(c echo.Context) error
type UserHandler ¶
type UserHandler struct {
HandlerOption
}
func (*UserHandler) CreateUser ¶
func (uh *UserHandler) CreateUser(c echo.Context) error
func (*UserHandler) DeleteUser ¶
func (uh *UserHandler) DeleteUser(c echo.Context) error
func (*UserHandler) GetAllHandler ¶
func (uh *UserHandler) GetAllHandler(c echo.Context) error
func (*UserHandler) GetUserProfile ¶
func (uh *UserHandler) GetUserProfile(c echo.Context) error
func (*UserHandler) UpdateUser ¶
func (uh *UserHandler) UpdateUser(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.