definition

package
v0.0.0-...-990e861 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

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
	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 GetCPUUsage func(bool) []float64

type GetDiskUsePercent

type GetDiskUsePercent func(string) float64

type GetHostname

type GetHostname func() string

type GetLastBootTimestamp

type GetLastBootTimestamp func() uint64

type GetNetworkInBytes

type GetNetworkInBytes func(string) uint64

type GetNetworkOutBytes

type GetNetworkOutBytes func(string) uint64

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL