Golang Publish/Subscribe Websocket Server
Go websocket server with Gorilla toolkit and SQLite database. With this server you can subscribe, unsubscribe and publish messages.
ACTION - SUBSCRIBE
, UNSUBSCRIBE
, PUBLISH
Message example:
{"action" : "ACTION", "topic" : "TOPIC NAME", "data" : "DATA"}
Installation:
go get github.com/gkiryaziev/go-ws-server
Edit configuration:
Copy `config.default.yaml` to `config.yaml` and edit configuration.
Build and Run:
go build && go-ws-server
Packages:
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