Skip to content

Instantly share code, notes, and snippets.

View akraxx's full-sized avatar

Maximilien Marie akraxx

  • Worldline
  • Lille, France
View GitHub Profile
@cee-dub
cee-dub / sse.go
Created May 30, 2014 21:08
Simple Golang SSE example using CloseNotifier
package main
import (
"fmt"
"log"
"net/http"
"time"
)
// SSE writes Server-Sent Events to an HTTP client.