Documentation
¶
Index ¶
- type DashboardController
- type OrderController
- func (oc OrderController) CreateOrder(c echo.Context) error
- func (oc OrderController) GetAnnualIncomeData(c echo.Context) error
- func (oc OrderController) GetLatestIncomeData(c echo.Context) error
- func (oc OrderController) GetOrderDetailData(c echo.Context) error
- func (oc OrderController) GetTotalOrdersData(c echo.Context) error
- func (oc OrderController) ShowAllOrders(c echo.Context) error
- func (oc OrderController) ShowCreateOrderForm(c echo.Context) error
- type ProductController
- func (pc ProductController) CreateProduct(c echo.Context) error
- func (pc ProductController) DeleteProduct(c echo.Context) error
- func (pc ProductController) GetBestSellerProductsData(c echo.Context) error
- func (pc ProductController) ShowAllProducts(c echo.Context) error
- func (pc ProductController) ShowCreateProductForm(c echo.Context) error
- func (pc ProductController) ShowEditProductForm(c echo.Context) error
- func (pc ProductController) UpdateProduct(c echo.Context) error
- type UserController
- func (uc UserController) Login(c echo.Context) error
- func (uc UserController) Logout(c echo.Context) error
- func (uc UserController) ShowEditUserPasswordForm(c echo.Context) error
- func (uc UserController) ShowEditUserProfileForm(c echo.Context) error
- func (uc UserController) ShowLoginForm(c echo.Context) error
- func (uc UserController) ShowUserProfile(c echo.Context) error
- func (uc UserController) UpdateUserPassword(c echo.Context) error
- func (uc UserController) UpdateUserProfile(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DashboardController ¶
type DashboardController struct {
// contains filtered or unexported fields
}
func NewDashboardController ¶
func NewDashboardController(ucs *app.Usecases) *DashboardController
func (DashboardController) ShowDashboard ¶
func (dc DashboardController) ShowDashboard(c echo.Context) error
type OrderController ¶
type OrderController struct {
// contains filtered or unexported fields
}
func NewOrderController ¶
func NewOrderController(ucs *app.Usecases) *OrderController
func (OrderController) CreateOrder ¶
func (oc OrderController) CreateOrder(c echo.Context) error
func (OrderController) GetAnnualIncomeData ¶
func (oc OrderController) GetAnnualIncomeData(c echo.Context) error
func (OrderController) GetLatestIncomeData ¶
func (oc OrderController) GetLatestIncomeData(c echo.Context) error
func (OrderController) GetOrderDetailData ¶
func (oc OrderController) GetOrderDetailData(c echo.Context) error
func (OrderController) GetTotalOrdersData ¶
func (oc OrderController) GetTotalOrdersData(c echo.Context) error
func (OrderController) ShowAllOrders ¶
func (oc OrderController) ShowAllOrders(c echo.Context) error
func (OrderController) ShowCreateOrderForm ¶
func (oc OrderController) ShowCreateOrderForm(c echo.Context) error
type ProductController ¶
type ProductController struct {
// contains filtered or unexported fields
}
func NewProductController ¶
func NewProductController(ucs *app.Usecases) *ProductController
func (ProductController) CreateProduct ¶
func (pc ProductController) CreateProduct(c echo.Context) error
func (ProductController) DeleteProduct ¶
func (pc ProductController) DeleteProduct(c echo.Context) error
func (ProductController) GetBestSellerProductsData ¶
func (pc ProductController) GetBestSellerProductsData(c echo.Context) error
func (ProductController) ShowAllProducts ¶
func (pc ProductController) ShowAllProducts(c echo.Context) error
func (ProductController) ShowCreateProductForm ¶
func (pc ProductController) ShowCreateProductForm(c echo.Context) error
func (ProductController) ShowEditProductForm ¶
func (pc ProductController) ShowEditProductForm(c echo.Context) error
func (ProductController) UpdateProduct ¶
func (pc ProductController) UpdateProduct(c echo.Context) error
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
func NewUserController ¶
func NewUserController(app *app.Usecases) *UserController
func (UserController) Login ¶
func (uc UserController) Login(c echo.Context) error
func (UserController) Logout ¶
func (uc UserController) Logout(c echo.Context) error
func (UserController) ShowEditUserPasswordForm ¶
func (uc UserController) ShowEditUserPasswordForm(c echo.Context) error
func (UserController) ShowEditUserProfileForm ¶
func (uc UserController) ShowEditUserProfileForm(c echo.Context) error
func (UserController) ShowLoginForm ¶
func (uc UserController) ShowLoginForm(c echo.Context) error
func (UserController) ShowUserProfile ¶
func (uc UserController) ShowUserProfile(c echo.Context) error
func (UserController) UpdateUserPassword ¶
func (uc UserController) UpdateUserPassword(c echo.Context) error
func (UserController) UpdateUserProfile ¶
func (uc UserController) UpdateUserProfile(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.