Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ Variables type CPU func (stat *CPU) Print() func (stat *CPU) Run() error type Disk func (stat *Disk) Print() func (stat *Disk) Run() error type Geekbench func (stat *Geekbench) Print() func (stat *Geekbench) Run() error type Host func (stat *Host) Print() func (stat *Host) Run() error type Module type Net func (stat *Net) Print() func (stat *Net) Run() error Constants ¶ This section is empty. Variables ¶ View Source var Modules map[string]Module = map[string]Module{} Functions ¶ This section is empty. Types ¶ type CPU ¶ type CPU struct { Sha256 float64 Gzip float64 } func (*CPU) Print ¶ func (stat *CPU) Print() func (*CPU) Run ¶ func (stat *CPU) Run() error type Disk ¶ type Disk struct { Average float64 Speeds []float64 } func (*Disk) Print ¶ func (stat *Disk) Print() func (*Disk) Run ¶ func (stat *Disk) Run() error type Geekbench ¶ type Geekbench struct { SingleCore int MultiCore int URL string ID int } func (*Geekbench) Print ¶ func (stat *Geekbench) Print() func (*Geekbench) Run ¶ func (stat *Geekbench) Run() error type Host ¶ type Host struct { OS string Platform string CPU string Cores int Clock float64 RAM uint64 } func (*Host) Print ¶ func (stat *Host) Print() func (*Host) Run ¶ func (stat *Host) Run() error type Module ¶ type Module interface { Run() error Print() } type Net ¶ type Net map[string]float64 func (*Net) Print ¶ func (stat *Net) Print() func (*Net) Run ¶ func (stat *Net) Run() error Source Files ¶ View all Source files cpu.go disk.go geekbench.go host.go modules.go net.go Click to show internal directories. Click to hide internal directories.