puffer

package
v0.0.0-...-3a5b9a4 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const QUERY_STRING = "select temp_high, temp_low, temp_med, temp_coll from puffer where time > now() - 1h order desc limit 1"

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	HighTemp      float32
	MidTemp       float32
	LowTemp       float32
	CollectorTemp float32
}

func FetchPufferData

func FetchPufferData(options *Options) (*Info, error)

FetchPufferData is for getting the latest puffer data

type Options

type Options struct {
	Url      string
	User     string
	Password string
}

type QueryResult

type QueryResult struct {
	Name    string
	Columns []string
	Points  [][]int64
}

Jump to

Keyboard shortcuts

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