Skip to content
Websocket example for Golang
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
go-ws-server
node-ws-client
.gitignore
README.md

README.md

A realtime distributed messaging platform
https://github.com/nsqio/nsq

1. Install packages

    $ go get github.com/gorilla/websocket
    $ go get github.com/shirou/gopsutil/mem

2. Run Go Websocket server

    $ cd go-ws-server
    $ go run 

3. Start NodeJS Websocket client

    $ cd node-ws-client
    $ npm install
    $ node main.js        

4. Get server statistics information

http://127.0.0.1:2706/stats
You can’t perform that action at this time.