handlers

package
v0.0.0-...-f3973e5 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

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