Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Apk ¶
type Apk struct {
VName string `xml:"version"`
VCode int `xml:"versioncode"`
Size int64 `xml:"size"`
MinSdk int `xml:"sdkver"`
MaxSdk int `xml:"maxsdkver"`
ABIs CommaList `xml:"nativecode"`
ApkName string `xml:"apkname"`
SrcName string `xml:"srcname"`
Sig HexVal `xml:"sig"`
Added DateVal `xml:"added"`
Perms CommaList `xml:"permissions"`
Feats CommaList `xml:"features"`
Hash HexHash `xml:"hash"`
App *App `xml:"-"`
Repo *Repo `xml:"-"`
}
Apk is an Android package
type App ¶
type App struct {
ID string `xml:"id"`
Name string `xml:"name"`
Summary string `xml:"summary"`
Added DateVal `xml:"added"`
Updated DateVal `xml:"lastupdated"`
Icon string `xml:"icon"`
Desc string `xml:"desc"`
License string `xml:"license"`
Categs CommaList `xml:"categories"`
Website string `xml:"web"`
Source string `xml:"source"`
Tracker string `xml:"tracker"`
Changelog string `xml:"changelog"`
Donate string `xml:"donate"`
Bitcoin string `xml:"bitcoin"`
Litecoin string `xml:"litecoin"`
FlattrID string `xml:"flattr"`
Apks []Apk `xml:"package"`
CVName string `xml:"marketversion"`
CVCode int `xml:"marketvercode"`
}
App is an Android application
func (*App) IconURLForDensity ¶ added in v0.2.0
func (a *App) IconURLForDensity(density IconDensity) string
type CommaList ¶ added in v0.2.0
type CommaList []string
func (*CommaList) FromString ¶ added in v0.2.0
func (*CommaList) UnmarshalText ¶ added in v0.2.0
func (*CommaList) UnmarshalXML ¶ added in v0.2.0
type DateVal ¶ added in v0.2.0
func (*DateVal) FromString ¶ added in v0.2.0
func (*DateVal) UnmarshalText ¶ added in v0.2.0
func (*DateVal) UnmarshalXML ¶ added in v0.2.0
type HexVal ¶ added in v0.2.0
type HexVal []byte
func (*HexVal) FromString ¶ added in v0.2.0
func (*HexVal) UnmarshalText ¶ added in v0.2.0
func (*HexVal) UnmarshalXML ¶ added in v0.2.0
type IconDensity ¶ added in v0.2.0
type IconDensity uint
const ( UnknownDensity IconDensity = 0 LowDensity IconDensity = 120 MediumDensity IconDensity = 160 HighDensity IconDensity = 240 XHighDensity IconDensity = 320 XXHighDensity IconDensity = 480 XXXHighDensity IconDensity = 640 )
Click to show internal directories.
Click to hide internal directories.