Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APCChannel ¶ added in v0.0.10
type APCChannel struct { Channel struct { Title string `xml:"title"` Item []APCChannelItem `xml:"item"` } `xml:"channel"` }
type APCChannelItem ¶ added in v0.0.10
type APCChannelItem struct { Title string `xml:"title"` PubDate string `xml:"pubDate"` Channel string `xml:"channel"` Version string `xml:"version"` ShortVersionString string `xml:"shortVersionString"` MinimumSystemVersion string `xml:"minimumSystemVersion"` Enclosure struct { URL string `xml:"url,attr"` Length string `xml:"length,attr"` Type string `xml:"type,attr"` } `xml:"enclosure"` }
type APCSparkle ¶
type APCSparkle struct { XMLName xml.Name `xml:"rss"` Sparkle string `xml:"sparkle,attr"` Version string `xml:"version,attr"` APCChannel }
type Appcast ¶
type Appcast struct { IAppcast ContentXML APCSparkle ReleaseChannels []ReleaseChannel // contains filtered or unexported fields }
type GDAppcast ¶
type GDAppcast struct {
Appcast
}
func NewGDAppcast ¶
func (*GDAppcast) Content ¶
func (apc *GDAppcast) Content() (APCSparkle, error)
func (*GDAppcast) GetReleaseChannel ¶ added in v0.0.10
func (apc *GDAppcast) GetReleaseChannel(name string) (ReleaseChannel, error)
type IAppcast ¶
type IAppcast interface { Get(client client.IClient, url string) error Content() (APCSparkle, error) GetReleaseChannel(name string) (ReleaseChannel, error) // contains filtered or unexported methods }
type ReleaseChannel ¶ added in v0.0.10
type ReleaseChannel struct { Name string Items []APCChannelItem Latest APCChannelItem }
Click to show internal directories.
Click to hide internal directories.