internal

package
v0.0.0-...-60ae2bb Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type System

type System struct{}

func (*System) CpuUtil

func (s *System) CpuUtil(interbal time.Duration, percpu bool) []float64

func (*System) MemUtil

func (s *System) MemUtil() *mem.VirtualMemoryStat

func (*System) TempUtil

func (s *System) TempUtil() ([]thermaldevise.Devise, error)

type SystemInfo

type SystemInfo interface {
	MemUtil(interbal time.Duration, percpu bool) *mem.VirtualMemoryStat
	CpuUtil() []float64
	TempUtil()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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