Documentation
¶
Overview ¶
Package catalog provides type to create an OPDS catalog of entries.
Index ¶
- func WithBookEntry(id uuid.UUID, title string, href string, issued, published, updated time.Time, ...) func(*opds.Feed)
- func WithFeedType(t string) func(*opds.Feed)
- func WithLink(t, rel, href string) func(*opds.Feed)
- func WithNavEntry(title string, updated time.Time, href string, options ...func(*opds.Entry)) func(*opds.Feed)
- func WithTitle(title string) func(*opds.Feed)
- func WithURL(href string) func(*opds.Feed)
- func WithUpdated(t time.Time) func(*opds.Feed)
- type Catalog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithBookEntry ¶
func WithBookEntry( id uuid.UUID, title string, href string, issued, published, updated time.Time, publisher string, language string, description string, ) func(*opds.Feed)
WithBookEntry adds a new book entry to the feed.
Types ¶
Click to show internal directories.
Click to hide internal directories.