controller

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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