Simple example of golang code with a blunderbluss pattern.
Telnet shot, http clients get lead.
./build.sh
./go-broadcast-event-source
Lauch some curls :
curl http://localhost:8000/blunder
Send some events :
telnet localhost 5000
Every lines in the telnet session is broadcasted to each http connections.
Some javascript nice examples.
Three terms BSD.