thermo

package
v0.0.0-...-098021b Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2016 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Temperature

type Temperature struct {
	Celsius      float64
	Fahrenheit   float64
	MeasuredTime time.Time
}

func (Temperature) Pretty

func (t Temperature) Pretty() string

type TemperatureReader

type TemperatureReader interface {
	ReadTemp() (*Temperature, error)
}

func NewTemperatureReader

func NewTemperatureReader(serialNumber string) (TemperatureReader, error)

Jump to

Keyboard shortcuts

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