go-playground: github.com/ShevaXu/go-playground/sse Files

Command sse

v3 of the SSE demo by ShevaXu, see README for more.

Original note from @schmohlio v2 of the great example of SSE in go by @ismasan. includes fixes:

* infinite loop ending in panic
* closing a client twice
* potentially blocked listen() from closing a connection during multiplex step.

Package Files

main.go

Package main imports 4 packages (graph). Updated 2020-02-01. Refresh now. Tools for package owners.