Documentation
¶
Index ¶
- type BooksInfo
- func (r *BooksInfo) Close() error
- func (r *BooksInfo) FindBooks(queryStr, tagName, tagValue string, pager pagination.IPager) ([]entities.BookInfo, error)
- func (r *BooksInfo) FindByID(id string) (entities.BookInfo, error)
- func (r *BooksInfo) GetAuthorsByLetter(letter string) ([]string, error)
- func (r *BooksInfo) GetGenres(pager pagination.IPager) (entities.GenresIndex, error)
- func (r *BooksInfo) GetItems(q query.Query, pager pagination.IPager, sort []search.SearchSort, ...) ([]entities.BookInfo, error)
- func (r *BooksInfo) GetOtherAuthorBooks(authors string, curBook *entities.BookInfo) (res []entities.BookInfo, err error)
- func (r *BooksInfo) GetOtherAuthorSeries(authors, curSeries string) (res map[string]int, err error)
- func (r *BooksInfo) GetSeriesBooks(series string, curBook *entities.BookInfo) (res []entities.BookInfo, err error)
- func (r *BooksInfo) GetSeriesByLetter(letter string) ([]string, error)
- func (r *BooksInfo) GetStats() (map[string]uint64, error)
- func (r *BooksInfo) Remove(bookID string) error
- func (r *BooksInfo) SaveBook(book entities.BookInfo) (err error)
- type LibMarks
- type LibraryFiles
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BooksInfo ¶ added in v1.12.0
type BooksInfo struct {
// contains filtered or unexported fields
}
func NewBooksInfo ¶ added in v1.12.0
func (*BooksInfo) GetAuthorsByLetter ¶ added in v1.13.0
func (*BooksInfo) GetGenres ¶ added in v1.13.0
func (r *BooksInfo) GetGenres(pager pagination.IPager) (entities.GenresIndex, error)
func (*BooksInfo) GetItems ¶ added in v1.13.0
func (r *BooksInfo) GetItems(q query.Query, pager pagination.IPager, sort []search.SearchSort, highlight *bleve.HighlightRequest, fields ...string, ) ([]entities.BookInfo, error)
func (*BooksInfo) GetOtherAuthorBooks ¶ added in v1.13.0
func (*BooksInfo) GetOtherAuthorSeries ¶ added in v1.13.0
func (*BooksInfo) GetSeriesBooks ¶ added in v1.13.0
func (*BooksInfo) GetSeriesByLetter ¶ added in v1.13.0
type LibMarks ¶ added in v1.12.0
type LibMarks struct {
// contains filtered or unexported fields
}
func NewLibMarks ¶ added in v1.12.0
func (*LibMarks) MarkExists ¶ added in v1.12.0
type LibraryFiles ¶ added in v1.12.0
type LibraryFiles struct {
// contains filtered or unexported fields
}
func NewLibraryFiles ¶ added in v1.12.0
func NewLibraryFiles(libs entities.Libraries) *LibraryFiles
Click to show internal directories.
Click to hide internal directories.