Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSystemFetcher ¶ added in v0.0.4
Types ¶
type SystemInfo ¶ added in v0.0.4
type SystemInfo struct {
Power float64 `json:"power"`
Voltage float64 `json:"voltage"`
CoreVoltage int `json:"coreVoltage"`
CoreVoltageActual int `json:"coreVoltageActual"`
Current float64 `json:"current"`
FanSpeed int `json:"fanspeed"`
FanSpeedRpm int `json:"fanSpeedRpm"`
Temp int `json:"temp"`
OverheatMode int `json:"overheat_mode"`
HashRate float64 `json:"hashRate"`
BestDiff *unit.SuffixedNumber `json:"bestDiff"`
BestSessionDiff *unit.SuffixedNumber `json:"bestSessionDiff"`
FreeHeap int `json:"freeHeap"`
Frequency int `json:"frequency"`
Ssid string `json:"-"`
Hostname string `json:"hostname"`
WifiStatus string `json:"-"`
UptimeSeconds int `json:"uptimeSeconds"`
ASICModel string `json:"ASICModel"`
ASICCount int `json:"asicCount"`
SmallCoreCount int `json:"smallCoreCount"`
StratumURL string `json:"stratumURL"`
StratumPort int `json:"stratumPort"`
StratumUser string `json:"stratumUser"`
Version string `json:"version"`
BoardVersion string `json:"boardVersion"`
RunningPartition string `json:"-"`
FlipScreen int `json:"-"`
InvertScreen int `json:"-"`
InvertFanPolarity int `json:"-"`
AutoFanSpeed int `json:"autofanspeed"`
}
Click to show internal directories.
Click to hide internal directories.