Versions in this module Expand all Collapse all v0 v0.1.0 Oct 22, 2021 Changes in this version + type Category struct + Domain string + Value string + XMLName xml.Name + func NewCategory(value string) (*Category, error) + type Channel struct + Categories []*Category + Cloud *Cloud + Copyright string + Description string + Docs string + Generator string + Image *Image + Items []*Item + Language string + LastBuildDate *RSSTime + Link string + ManagingEditor string + PubDate *RSSTime + Rating string + SkipDays *SkipDays + SkipHours *SkipHours + TTL int + TextInput *TextInput + Title string + WebMaster string + XMLName xml.Name + func NewChannel(title, link, description string) (*Channel, error) + type Cloud struct + Domain string + Path string + Port int + Protocol string + RegisterProcedure string + XMLName xml.Name + func NewCloud(domain string, port int, path, rp, protocol string) (*Cloud, error) + type Enclosure struct + Length int + Type string + URL string + XMLName xml.Name + func NewEnclosure(url string, length int, t string) (*Enclosure, error) + type GUID struct + IsPermaLink bool + Value string + XMLName xml.Name + func NewGUID(value string) (*GUID, error) + type Image struct + Description string + Height int + Link string + Title string + URL string + Width int + XMLName xml.Name + func NewImage(url, title, link string) (*Image, error) + type Item struct + Author string + Categories []*Category + Comments string + Description string + Enclosure *Enclosure + GUID *GUID + Link string + PubDate *RSSTime + Source *Source + Title string + XMLName xml.Name + func NewItem(title, description string) (*Item, error) + type RSS struct + Channel *Channel + Version string + XMLName xml.Name + func NewRSS(ch *Channel) *RSS + type RSSTime struct + Time time.Time + func ParseRSSTime(in string) (out RSSTime, err error) + func (t *RSSTime) UnmarshalXML(decoder *xml.Decoder, start xml.StartElement) (err error) + func (t RSSTime) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type SkipDays struct + Days []string + XMLName xml.Name + func NewSkipDays(days []time.Weekday) *SkipDays + type SkipHours struct + Hours []int + XMLName xml.Name + func NewSkipHours(hours []int) (*SkipHours, error) + type Source struct + URL string + Value string + XMLName xml.Name + func NewSource(value, url string) (*Source, error) + type TextInput struct + Description string + Link string + Name string + Title string + XMLName xml.Name + func NewTextInput(title, description, name, link string) (*TextInput, error)