Go websocket server with Gorilla toolkit and SQLite database. With this server you can subscribe, unsubscribe and publish messages.
ACTION - SUBSCRIBE
, UNSUBSCRIBE
, PUBLISH
{"action" : "ACTION", "topic" : "TOPIC NAME", "data" : "DATA"}
go get github.com/gkiryaziev/go-ws-server
Copy `config.default.yaml` to `config.yaml` and edit configuration.
go build && go-ws-server
You can use glide packages manager to get all needed packages.
go get -u -v github.com/Masterminds/glide
cd go-ws-server && glide install