bitaxe

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSystemFetcher added in v0.0.4

func NewSystemFetcher(timeout time.Duration) *systemFetcher

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:"-"`
	SharesAccepted    int                  `json:"sharesAccepted"`
	SharesRejected    int                  `json:"sharesRejected"`
	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"`
}

Jump to

Keyboard shortcuts

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