appcast

package
v0.0.0-...-fecded5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2013 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	XMLName     xml.Name `xml:"channel"`
	Title       string   `xml:"title"`
	Link        string   `xml:"link"`        // required
	Description string   `xml:"description"` // required
	Items       []*Item  `xml:"item"`
}

type Enclosure

type Enclosure struct {
	XMLName   xml.Name `xml:"enclosure"`
	URL       string   `xml:"url,attr"`
	Length    string   `xml:"length,attr"`
	Type      string   `xml:"type,attr"`
	Version   string   `xml:"sparkle=http://www.andymatuschak.org/xml-namespaces/sparkle version,attr"`
	Signature string   `xml:"sparkle=http://www.andymatuschak.org/xml-namespaces/sparkle dsaSignature,attr,omitempty"`
}

type Item

type Item struct {
	XMLName   xml.Name   `xml:"item"`
	Title     string     `xml:"title"`             // required
	PubDate   string     `xml:"pubDate,omitempty"` // created or updated
	Enclosure *Enclosure `xml:"enclosure"`

	ReleaseNotesLink string `xml:"sparkle=http://www.andymatuschak.org/xml-namespaces/sparkle releaseNotesLink,omitempty"`
}

type RSS

type RSS struct {
	XMLName xml.Name `xml:"rss"`
	Version string   `xml:"version,attr"`
	Channel *Channel `xml:"channel"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL