Documentation
¶
Index ¶
- type Driver
- type GetBoardModel
- type GetBoardVendor
- type GetCPUTemperature
- type GetCPUUsage
- type GetDiskUsePercent
- type GetGPUUsage
- type GetHostname
- type GetLastBootTimestamp
- type GetNetworkInBytes
- type GetNetworkOutBytes
- type GetRAMUsePercent
- type GetRaspberryPowerStatus
- type GetSerialNumber
- type GetSoftwareVersion
- type GetSwapUsePercent
- type Is64BitCPU
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
Is64BitCPU Is64BitCPU
GetBoardModel GetBoardModel
GetBoardVendor GetBoardVendor
GetSoftwareVersion GetSoftwareVersion
GetHostId GetSerialNumber
GetHostname GetHostname
GetCPUUsage GetCPUUsage
GetCPUTemperature GetCPUTemperature
GetGPUUsage GetGPUUsage
GetDiskUsePercent GetDiskUsePercent
GetRAMUsePercent GetRAMUsePercent
GetSwapUsePercent GetSwapUsePercent
GetNetworkInBytes GetNetworkInBytes
GetNetworkOutBytes GetNetworkOutBytes
GetLastBootTimestamp GetLastBootTimestamp
GetRaspberryPowerStatus GetRaspberryPowerStatus
}
type GetBoardModel ¶
type GetBoardModel func() string
type GetBoardVendor ¶
type GetBoardVendor func() string
type GetCPUTemperature ¶
type GetCPUTemperature func() float64
type GetCPUUsage ¶
type GetDiskUsePercent ¶
type GetGPUUsage ¶
type GetGPUUsage func() float64
type GetHostname ¶
type GetHostname func() string
type GetLastBootTimestamp ¶
type GetLastBootTimestamp func() uint64
type GetNetworkInBytes ¶
type GetNetworkOutBytes ¶
type GetRAMUsePercent ¶
type GetRAMUsePercent func() float64
type GetRaspberryPowerStatus ¶
type GetRaspberryPowerStatus func() string
type GetSerialNumber ¶
type GetSerialNumber func() string
type GetSoftwareVersion ¶
type GetSoftwareVersion func() string
type GetSwapUsePercent ¶
type GetSwapUsePercent func() float64
type Is64BitCPU ¶
type Is64BitCPU func() bool
Click to show internal directories.
Click to hide internal directories.