Documentation ¶
Index ¶
- func AddBook(book *es.ES_Book) (bool, error)
- func BatchAddBook(bookList []*es.ES_Book) (int64, error)
- func DeleteAllBook() (int64, error)
- func SearchBook(keyword string, criteriaMap *hashmap.Map, pageSize int, pageNo int) (*datasources.PagedDataSource, error)
- func SearchBookByQuery(query elastic.Query, pageSize int, pageNo int) (*datasources.PagedDataSource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteAllBook ¶
func SearchBook ¶
func SearchBook(keyword string, criteriaMap *hashmap.Map, pageSize int, pageNo int) (*datasources.PagedDataSource, error)
func SearchBookByQuery ¶
func SearchBookByQuery(query elastic.Query, pageSize int, pageNo int) (*datasources.PagedDataSource, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.