viewstats

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddStat

func AddStat(topic string, data string)

AddStat parses the MQTT topics and puts the latest values in a hash that is displayed in the UI

func PrepViewer

func PrepViewer()

PrepViewer is called to make sure our hash table exists before AddStat

func StartStatsDisplay

func StartStatsDisplay()

StartStatsDisplay sets up the terminal UI to display data. It will run in an infinite loop until Ctrl-C is hit

Types

This section is empty.

Jump to

Keyboard shortcuts

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