go-ws-client

command module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2016 License: MIT Imports: 11 Imported by: 0

README

Golang Publish/Subscribe Websocket Client

Go websocket client with Gorilla toolkit.

This client was written for the Raspberry Pi 2. At this time, you can get Cpu temp and memory, and System memory total, used and free. Led implemented only as a stub, work continues on them. With this client you can subscribe, unsubscribe and publish messages. Implementation of Public/Subscribe server can be found here.

ACTION - SUBSCRIBE, UNSUBSCRIBE, PUBLISH

Message example:

{"action" : "ACTION", "topic" : "TOPIC NAME", "data" : "DATA"}

Mind

Installation:

go get github.com/gkiryaziev/go-ws-client

Edit configuration:

Copy `config.default.yaml` to `config.yaml` and edit configuration.

Build and Run:

go build && go-ws-client

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cpu

Jump to

Keyboard shortcuts

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