const ContentType = "text/event-stream"
func Encode(writer io.Writer, event Event) error
type Event struct { Event string Id string Retry uint Data interface{} }
func Decode(r io.Reader) ([]Event, error)
func (r Event) Render(w http.ResponseWriter) error
func (r Event) WriteContentType(w http.ResponseWriter)