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"}

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