repos

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

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

func (*BooksDataFB2Files) GetFor

func (r *BooksDataFB2Files) GetFor(book entities.BookIndex) (res entities.FB2Book, err error)

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)

Jump to

Keyboard shortcuts

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