Install latest/stable of Golang WebSocket Chat Server
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install golang-websocket-chat-server
Don't have snapd? Get set up for snaps.
You are about to open
Do you wish to proceed?
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
Generate an embeddable card to be shared on external websites.
A lightweight WebSocket server built with Go and golang.org/x/net/websocket. It listens on TCP port 3000 and exposes two endpoints:
/ws a broadcast chat channel — every message you send is echoed back and rebroadcast to all connected clients /bookFeed a demo feed that streams the current timestamp every 2 seconds
Connect with any WebSocket client, e.g.: websocat ws://localhost:3000/ws
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.