Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 634 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 634 Bytes

Websocket Channels Demo

This is a sample application demonstrating subscribable web sockets

It supports Client N to many connections. Client 1 can subscribe to Client 2. Client 3 can subscribe to Clients 1, 2, and N.

If compiling Go programs is unfamiliar, I've included a video demo for your convenience.

Usage

Run the command:

go run .

Then open up different browsers (i.e. Chrome, Chrome incognito, Firefox, Edge) to simulate a different client.

Different tabs in the same browser will not work due to cookie-based sessions.