blink5

command
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2015 License: MIT Imports: 6 Imported by: 0

README

The JET/blink demo using a host-side only setup in Go, based on MQTT.

The input is an MQTT topic called "enabled", accepting a boolean as JSON. The output is an MQTT topic called "blink", sending out booleans as JSON. The ticker logic is included in the server and is controlled via pubsub.

Status - Working as intended.

Usage

Launch the server in a separate terminal window:

go run server.go

Now launch a client which displays all data going through MQTT:

go run dumper.go

Finally, in a third terminal window, send enable/disable events:

go run enabler.go true

or

go run enabler.go false

The results will be visible in the dumper output.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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