Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct{}
func (*Controller) HandleCreateCustomer ¶
func (c *Controller) HandleCreateCustomer(ctx echo.Context) error
HandleCreateCustomer append a new customer
func (*Controller) HandleReadCustomer ¶
func (c *Controller) HandleReadCustomer(ctx echo.Context) error
HandleReadCustomer returns a specific customer info
func (*Controller) HandleReadCustomers ¶
func (c *Controller) HandleReadCustomers(ctx echo.Context) error
HandleReadCustomers returns all customers
func (*Controller) HandleUpdateCustomer ¶
func (c *Controller) HandleUpdateCustomer(ctx echo.Context) error
HandleUpdateCustomer update the customer info
Click to show internal directories.
Click to hide internal directories.