command
Version:
v0.0.0-...-90bf800
Opens a new window with list of versions in this module.
Published: Apr 20, 2024
License: MIT
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
¶
Example demonstrates a possibility of using Centrifuge with Eventsource/SSE unidirectional transport.
The benefit here is that you get the scalable PUB/SUB system for real-time notifications using one of the simplest HTTP-based transports.
The drawback: you need to use a custom client code to unwrap Centrifuge protocol-encoded push frames (pretty simple though).
To start example run the following command from example directory:
go run main.go
Then go to http://localhost:8000 to see it in action.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.