interfaces

package
v0.0.0-...-a32083c Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IBookRepository

type IBookRepository interface {
	List(filters *model.BookFilter, sorting *model.Sorting) ([]model.Book, error)
	Create(book *model.Book) (*model.Book, error)
	Get(ID string) (*model.Book, error)
	Update(book *model.Book) (*model.Book, error)
	Delete(ID objectid.ObjectID) (int64, error)
	BookCtx(next http.Handler) http.Handler
}

IBookRepository Book repository interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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