Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (21 sloc) 0.463 kb

Blunderbluss

Simple example of golang code with a blunderbluss pattern.

Telnet shot, http clients get lead.

Build

./build.sh

Test it

./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.

Todo

Some javascript nice examples.

Licence

Three terms BSD.

Jump to Line
Something went wrong with that request. Please try again.