controllers

package
v0.0.0-...-c6ffc77 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

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