Thanks to visit codestin.com
Credit goes to github.com

Skip to content

raycad/go-websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Websocket example for Golang

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published