Skip to content

gkiryaziev/go-ws-server

Repository files navigation

Golang Publish/Subscribe Websocket Server

Go Report Card

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

Mind

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

About

Golang Publish/Subscribe Websocket Server

Resources

License

Stars

Watchers

Forks

Packages

No packages published