Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Golang Publish/Subscribe Websocket Client

Go Report Card

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

Packages:

You can use glide packages manager to get all needed packages.

go get -u -v github.com/Masterminds/glide

cd go-ws-client && glide install

About

Golang Publish/Subscribe Websocket Client

Resources

License

Packages

No packages published

Languages