Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownOS = errors.New("unknown os")
Functions ¶
Types ¶
type CdataString ¶
type CdataString struct {
Value string `xml:",cdata"`
}
CdataString for XML CDATA See issue: https://github.com/golang/go/issues/16198
type CriticalUpdate ¶
type CriticalUpdate struct {
Version string `xml:"sparkle:version,attr,omitempty"`
}
type Enclosure ¶
type Enclosure struct { URL string `xml:"url,attr"` OS string `xml:"sparkle:os,attr"` Version string `xml:"sparkle:version,attr"` DSASignature string `xml:"sparkle:dsaSignature,attr,omitempty"` EDSignature string `xml:"sparkle:edSignature,attr,omitempty"` InstallerArguments string `xml:"sparkle:installerArguments,attr,omitempty"` MinimumSystemVersion string `xml:"sparkle:minimumSystemVersion,attr,omitempty"` Length int `xml:"length,attr,omitempty"` Type string `xml:"type,attr"` }
type Item ¶
type Item struct { Title string `xml:"title"` PubDate string `xml:"pubDate"` Description *CdataString `xml:"description,omitempty"` Version string `xml:"sparkle:version,omitempty"` ReleaseNotesLink string `xml:"sparkle:releaseNotesLink,omitempty"` CriticalUpdate *CriticalUpdate `xml:"sparkle:criticalUpdate,omitempty"` Tags *Tags `xml:"sparkle:tags,omitempty"` MinimumAutoupdateVersion string `xml:"sparkle:minimumAutoupdateVersion,omitempty"` IgnoreSkippedUpgradesBelowVersion string `xml:"sparkle:ignoreSkippedUpgradesBelowVersion,omitempty"` Enclosure *Enclosure `xml:"enclosure,omitempty"` }
type RSS ¶
type RSS struct {
Channels []*Channel `xml:"channel"`
}
func (*RSS) MarshalXML ¶
func (*RSS) UnmarshalXML ¶
Click to show internal directories.
Click to hide internal directories.