Documentation ¶
Index ¶
- type BooksDataFB2Files
- type BooksIndexBleve
- func (r *BooksIndexBleve) GetBook(bookID string) (entities.BookIndex, error)
- func (r *BooksIndexBleve) SearchAll(strQuery string, pager pagination.IPager) ([]entities.BookIndex, error)
- func (r *BooksIndexBleve) SearchByAuthor(strQuery string, pager pagination.IPager) ([]entities.BookIndex, error)
- func (r *BooksIndexBleve) SearchBySequence(strQuery string, pager pagination.IPager) ([]entities.BookIndex, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BooksDataFB2Files ¶
type BooksDataFB2Files struct { }
func NewBooksDataFB2Files ¶
func NewBooksDataFB2Files() *BooksDataFB2Files
type BooksIndexBleve ¶
type BooksIndexBleve struct {
// contains filtered or unexported fields
}
func NewBooksIndexBleve ¶
func NewBooksIndexBleve( highlight bool, index entities.ISearchIndex, logger zerolog.Logger, ) *BooksIndexBleve
func (*BooksIndexBleve) GetBook ¶
func (r *BooksIndexBleve) GetBook(bookID string) (entities.BookIndex, error)
func (*BooksIndexBleve) SearchAll ¶
func (r *BooksIndexBleve) SearchAll(strQuery string, pager pagination.IPager) ([]entities.BookIndex, error)
func (*BooksIndexBleve) SearchByAuthor ¶
func (r *BooksIndexBleve) SearchByAuthor(strQuery string, pager pagination.IPager) ([]entities.BookIndex, error)
func (*BooksIndexBleve) SearchBySequence ¶
func (r *BooksIndexBleve) SearchBySequence(strQuery string, pager pagination.IPager) ([]entities.BookIndex, error)
Click to show internal directories.
Click to hide internal directories.