handlers

package
v4.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 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 interface {
	Paginate(paginator paginations.Pagination, result interface{}) paginations.Metadata
	Create(v interface{}) error
	Update(v interface{}, id string) error
	Bind(v interface{}, id string) error
	FindBy(v interface{}, filters ...repositories.Filter) error
	All(v interface{}) error
	Delete(v interface{}, id string) error
	Repository() repositories.Repository
}

func New added in v4.1.1

func New(debug bool, dispatcher *events.Dispatcher, repository repositories.Repository, adapter paginations.Adapter) Handler

Jump to

Keyboard shortcuts

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