Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(hlRepository highlightsRepository, readingRepository readingRepository, sender Sender, idx IdxReader, cfg Config, dataSource DataSource, appFs afero.Fs, embeddedImagesFS fs.FS) *Controller
func (*Controller) UploadImage ¶ added in v4.17.0
func (a *Controller) UploadImage(c fiber.Ctx) error
type DataSource ¶ added in v4.7.0
type IdxReader ¶
type IdxReader interface {
SearchByAuthor(searchFields index.SearchFields, page, resultsPerPage int) (result.Paginated[[]index.Document], error)
Author(slug, lang string) (index.Author, error)
IndexAuthor(author index.Author) error
Languages() ([]string, error)
}
IdxReader defines a set of author reading operations over an index
Click to show internal directories.
Click to hide internal directories.