common

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package common contains all core structures and API for CoreTemp.

Package common contains all core structures and API for CoreTemp.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Average

func Average(val []float64) float64

func DownloadFile

func DownloadFile(url string) ([]byte, error)

func Hostname

func Hostname() string

func UnzipFile

func UnzipFile(buf []byte, pattern string, outFile string) error

Types

type Driver

type Driver interface {
	Get() (*pb.MachineMetrics, error)
}

func NotSupported

func NotSupported(err error) Driver

Jump to

Keyboard shortcuts

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