geezyx / sse

HTML5 Server-Sent-Events for Go

Home Page:https://godoc.org/github.com/julienschmidt/sse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSE - Server-Sent Events

Build Status Coverage GoDoc

HTML5 Server-Sent Events for Go

Why you should use Server-Sent-Events

  • No need to implement custom protocol (WebSockets), it just uses HTTP
  • Convenient JavaScript API, fires easy to handle Events
  • Auto-Reconnects
  • Unlike WebSockets, only unidirectional (server -> client)

ToDo

  • ID handling
  • Improve Client Channel buffering

Further Readings

About

HTML5 Server-Sent-Events for Go

https://godoc.org/github.com/julienschmidt/sse

License:MIT License


Languages

Language:Go 100.0%