Documentation
¶
Index ¶
Constants ¶
View Source
const ( DownloadJobType = "download" InstallJobType = "install" RemoveJobType = "remove" UpdateJobType = "update" DistUpgradeJobType = "dist_upgrade" PrepareDistUpgradeJobType = "prepare_dist_upgrade" UpdateSourceJobType = "update_source" CustomUpdateJobType = "custom_update" CleanJobType = "clean" SystemUpgradeJobType = "system_upgrade" )
Variables ¶
View Source
var MinBatteryPercent = 30.0
Functions ¶
func PackageName ¶
func QueryLang ¶
func QueryLang() string
QueryLang return user lang. the rule is document at man gettext(3)
func QueryLangs ¶
func QueryLangs() []string
QueryLangs return array of user lang, split by ":". the rule is document at man gettext(3)
Types ¶
type CacheJobInfo ¶
type Daemon ¶
type Daemon struct { *loader.ModuleBase // contains filtered or unexported fields }
func (*Daemon) GetDependencies ¶
type Lastore ¶
type Lastore struct { // prop: PropsMu sync.RWMutex SourceCheckEnabled bool // contains filtered or unexported fields }
func (*Lastore) GetExportedMethods ¶
func (v *Lastore) GetExportedMethods() dbusutil.ExportedMethods
func (*Lastore) GetInterfaceName ¶
type NotifyAction ¶
Click to show internal directories.
Click to hide internal directories.