Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Feed link types FeedAcquisitionLinkType = "application/atom+xml;profile=opds-catalog;kind=acquisition" FeedSearchLinkType = "application/opensearchdescription+xml" // Feed link relations FeedStartLinkRel = "start" FeedSelfLinkRel = "self" FeedSearchLinkRel = "search" FeedFirstLinkRel = "first" FeedLastLinkRel = "last" FeedNextLinkRel = "next" FeedPrevLinkRel = "prev" FeedSubsectionLinkRel = "subsection" // Content types FeedTextContentType = "text" FeedHtmlContentType = "html" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { // XMLName xml.Name `xml:"entry"` // Xmlns string `xml:"xmlns,attr,omitempty"` Title string `xml:"title"` ID string `xml:"id"` Link []Link `xml:"link"` Published string `xml:"published,omitempty"` Updated TimeStr `xml:"updated"` Category string `xml:"category,omitempty"` Authors []Author `xml:"author"` Summary *Summary `xml:"summary"` Content *Content `xml:"content"` Rights string `xml:"rights,omitempty"` Source string `xml:"source,omitempty"` }
type Feed ¶
type Feed struct { XMLName xml.Name `xml:"feed"` Xmlns string `xml:"xmlns,attr"` XmlnsDC string `xml:"xmlns:dcterms,attr,omitempty"` XmlnsOS string `xml:"xmlns:opensearch,attr,omitempty"` XmlnsOPDS string `xml:"xmlns:opds,attr,omitempty"` Title string `xml:"title"` ID string `xml:"id"` Updated TimeStr `xml:"updated"` Link []Link `xml:"link"` Author []Author `xml:"author,omitempty"` Entry []*Entry `xml:"entry"` Category string `xml:"category,omitempty"` Icon string `xml:"icon,omitempty"` Logo string `xml:"logo,omitempty"` Content string `xml:"content,omitempty"` Subtitle string `xml:"subtitle,omitempty"` SearchResult uint `xml:"opensearch:totalResults,omitempty"` }
type Handler ¶
Click to show internal directories.
Click to hide internal directories.