Documentation ¶
Index ¶
Constants ¶
View Source
const KeyID = `id`
View Source
const KeyName = `name`
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HomeHandler ¶
type HomeHandler struct { }
func NewHome ¶
func NewHome() *HomeHandler
func (*HomeHandler) View ¶
func (h *HomeHandler) View(ctx echo.Context) error
type ItemHandler ¶
type ItemHandler struct {
// contains filtered or unexported fields
}
func NewItemHandler ¶
func NewItemHandler(sv services.ItemService) ItemHandler
func (ItemHandler) Add ¶
func (h ItemHandler) Add(ctx echo.Context) error
func (ItemHandler) List ¶
func (h ItemHandler) List(ctx echo.Context) error
func (ItemHandler) View ¶
func (h ItemHandler) View(ctx echo.Context) error
type LocationHandler ¶
type LocationHandler struct {
// contains filtered or unexported fields
}
func NewLocationHandler ¶
func NewLocationHandler(ls services.LocationService) LocationHandler
func (LocationHandler) Add ¶
func (h LocationHandler) Add(ctx echo.Context) error
func (LocationHandler) List ¶
func (h LocationHandler) List(ctx echo.Context) error
func (LocationHandler) View ¶
func (h LocationHandler) View(ctx echo.Context) error
Click to show internal directories.
Click to hide internal directories.