handler

package
v0.0.0-...-9a7d2f5 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultPerPage is the default number of items to return per page
	DefaultLimit = 10
	// DefaultLimit is the maximum number of items to return per page
	MaxLimit = 100
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(db *sqlx.DB) *Handler

func (*Handler) GetItemByID

func (h *Handler) GetItemByID(c echo.Context) error

func (*Handler) GetItemByName

func (h *Handler) GetItemByName(c echo.Context) error

func (*Handler) GetItems

func (h *Handler) GetItems(c echo.Context) error

Jump to

Keyboard shortcuts

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