Documentation ¶
Index ¶
- type Handler
- func (h *Handler) All(v interface{}) error
- func (h *Handler) Bind(v interface{}, id string) error
- func (h *Handler) Create(v interface{}) error
- func (h *Handler) Delete(v interface{}, id string) error
- func (h *Handler) Paginate(paginator paginations.Pagination, result interface{}) paginations.Metadata
- func (h *Handler) Update(v interface{}, id string) error
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) Paginate ¶
func (h *Handler) Paginate(paginator paginations.Pagination, result interface{}) paginations.Metadata
Click to show internal directories.
Click to hide internal directories.