handlers

package
v4.0.10 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Debug      bool
	Dispatcher *events.Dispatcher
	Repository repositories.Repository
	Adapter    paginations.Adapter
}

func (*Handler) All

func (h *Handler) All(v interface{}) error

func (*Handler) Bind

func (h *Handler) Bind(v interface{}, id string) error

func (*Handler) Create

func (h *Handler) Create(v interface{}) error

func (*Handler) Delete

func (h *Handler) Delete(v interface{}, id string) error

func (*Handler) Paginate

func (h *Handler) Paginate(paginator paginations.Pagination, result interface{}) paginations.Metadata

func (*Handler) Update

func (h *Handler) Update(v interface{}, id string) error

Jump to

Keyboard shortcuts

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