command
module
Version:
v0.0.0-...-b99c4da
Opens a new window with list of versions in this module.
Published: Jul 4, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Distributed websocket gateway
Websocket client <-> Websocket gateway <-> Redis
Can be used for chats.
Run
go run *.go
Then, open multiple websocket clients:
wscat -c 'ws://localhost:8080?room=1'
wscat -c 'ws://localhost:8080?room=1'
wscat -c 'ws://localhost:8080?room=abcd'
wscat -c 'ws://localhost:8080?room=1'
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.