Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var C = conf.Configuration
Functions ¶
Types ¶
type RssBody ¶
type RssBody struct { XMLName xml.Name `xml:"rss"` Text string `xml:",chardata"` Version string `xml:"version,attr"` Tv string `xml:"tv,attr"` Channel struct { Text string `xml:",chardata"` Title string `xml:"title"` Link string `xml:"link"` Ttl string `xml:"ttl"` Description string `xml:"description"` Item []RssItem `xml:"item"` } `xml:"channel"` }
type RssItem ¶
type RssItem struct { Text string `xml:",chardata"` Title string `xml:"title"` Link string `xml:"link"` Guid struct { Text string `xml:",chardata"` IsPermaLink string `xml:"isPermaLink,attr"` } `xml:"guid"` PubDate string `xml:"pubDate"` Description string `xml:"description"` ShowID string `xml:"show_id"` ExternalID string `xml:"external_id"` ShowName string `xml:"show_name"` EpisodeID string `xml:"episode_id"` RawTitle string `xml:"raw_title"` InfoHash string `xml:"info_hash"` Enclosure struct { Text string `xml:",chardata"` URL string `xml:"url,attr"` Length string `xml:"length,attr"` Type string `xml:"type,attr"` } `xml:"enclosure"` }
Click to show internal directories.
Click to hide internal directories.