Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCPUInfo ¶
Types ¶
type Daemon ¶
type Daemon struct { PropsMu sync.RWMutex *loader.ModuleBase // contains filtered or unexported fields }
func (*Daemon) GetDependencies ¶
type Disk ¶
type Disk struct { Name string Model string Serial string // if empty, use children uuid's sha256 replace Vendor string Size int64 // byte RootMounted bool }
Disk store disk info
type SystemInfo ¶
type SystemInfo struct { // Current deepin version, ex: "2015 Desktop" Version string // Distribution ID DistroID string // Distribution Description DistroDesc string // Distribution Version DistroVer string // CPU information Processor string // Disk capacity DiskCap uint64 // Memory size MemoryCap uint64 // System type: 32bit or 64bit SystemType int64 // CPU max MHz CPUMaxMHz float64 //Current Speed : when cpu max mhz is 0 use CurrentSpeed uint64 }
func NewSystemInfo ¶
func NewSystemInfo() *SystemInfo
func (*SystemInfo) GetExportedMethods ¶
func (v *SystemInfo) GetExportedMethods() dbusutil.ExportedMethods
func (*SystemInfo) GetInterfaceName ¶
func (*SystemInfo) GetInterfaceName() string
Click to show internal directories.
Click to hide internal directories.