Skip to content

Instantly share code, notes, and snippets.

View areed's full-sized avatar

Andrew Reed areed

  • Smallstep
  • Evanston, IL USA
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.