Documentation
¶
Index ¶
- func ConvertFromCat(category string) (cat string)
- func ConvertToCat(cat string) string
- type Rss
- type RssCaps
- type RssCategories
- type RssCategory
- type RssCategoryTorznab
- type RssEnclosure
- type RssFeed
- type RssImage
- type RssItem
- type RssLimits
- type RssMagnetLink
- type RssRegistration
- type RssSearch
- type RssSearching
- type RssServer
- type RssSubCat
- type RssTextInput
- type RssTorrent
- type RssTorznab
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertFromCat ¶
ConvertFromCat : Convert a cat to a torznab cat
func ConvertToCat ¶
ConvertToCat : Convert a torznab cat to our cat
Types ¶
type Rss ¶
type RssCaps ¶
type RssCaps struct {
XMLName xml.Name `xml:"caps"`
Server *RssServer `xml:"server,omitempty"`
Limits *RssLimits `xml:"limits,omitempty"`
Registration *RssRegistration `xml:"registration,omitempty"`
Searching *RssSearching `xml:"searching,omitempty"`
Categories *RssCategories `xml:"categories,omitempty"`
}
type RssCategories ¶
type RssCategories struct {
XMLName xml.Name `xml:"categories"`
Category []*RssCategoryTorznab
}
type RssCategory ¶
RssCategory is a category for rss item
type RssCategoryTorznab ¶
type RssEnclosure ¶
type RssFeed ¶
type RssFeed struct {
XMLName xml.Name `xml:"channel"`
Xmlns string `xml:"-"`
Title string `xml:"title"` // required
Link string `xml:"link"` // required
Description string `xml:"description"` // required
Language string `xml:"language,omitempty"`
Copyright string `xml:"copyright,omitempty"`
ManagingEditor string `xml:"managingEditor,omitempty"` // Author used
WebMaster string `xml:"webMaster,omitempty"`
PubDate string `xml:"pubDate,omitempty"` // created or updated
LastBuildDate string `xml:"lastBuildDate,omitempty"` // updated used
Category string `xml:"category,omitempty"`
Generator string `xml:"generator,omitempty"`
Docs string `xml:"docs,omitempty"`
Cloud string `xml:"cloud,omitempty"`
TTL int `xml:"ttl,omitempty"`
Rating string `xml:"rating,omitempty"`
SkipHours string `xml:"skipHours,omitempty"`
SkipDays string `xml:"skipDays,omitempty"`
Image *RssImage
TextInput *RssTextInput
Items []*RssItem
}
type RssItem ¶
type RssItem struct {
XMLName xml.Name `xml:"item"`
Title string `xml:"title"` // required
Link interface{} `xml:"link,omitempty"`
Description string `xml:"description"` // required
Author string `xml:"author,omitempty"`
Category *RssCategory `xml:"category,omitempty"`
Comments string `xml:"comments,omitempty"`
Enclosure *RssEnclosure
GUID string `xml:"guid,omitempty"` // Id used
PubDate string `xml:"pubDate,omitempty"` // created or updated
Source string `xml:"source,omitempty"`
Torrent *RssTorrent `xml:"torrent,omitempty"`
Torznab []*RssTorznab
}
type RssMagnetLink ¶
type RssRegistration ¶
type RssSearching ¶
type RssTextInput ¶
type RssTorrent ¶
Click to show internal directories.
Click to hide internal directories.