winthermal

package
v0.0.0-...-2fbf42a Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package winthermal reads the temperature sensors via WMI on Windows.

This is an incomplete work-in-progress.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dev

type Dev struct {
	// contains filtered or unexported fields
}

Dev represents an handle to a WMI based sensor.

Dev implements physic.SenseEnv.

func (*Dev) Halt

func (d *Dev) Halt() error

Halt implements conn.Resource.

func (*Dev) Precision

func (d *Dev) Precision(e *physic.Env)

func (*Dev) Sense

func (d *Dev) Sense(env *physic.Env) error

Sense implements physic.SenseEnv.

func (*Dev) SenseContinuous

func (d *Dev) SenseContinuous(interval time.Duration) (<-chan physic.Env, error)

func (*Dev) String

func (d *Dev) String() string

String implements conn.Resource.

Jump to

Keyboard shortcuts

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