Skip to content

dreams-money/websocket_channels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

User's can subscribe to specific message channels

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published