Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Example for golang with a blunderbluss pattern for the web.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 slides
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
README.md

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.

Something went wrong with that request. Please try again.