{"repo":"tmaxmax/go-sse","free":true,"listed":false,"github":"https://github.com/tmaxmax/go-sse","clone":"git clone https://github.com/tmaxmax/go-sse.git","description":"Fully featured, spec-compliant HTML5 server-sent events library","language":"Go","stars":522,"topics":["sse","go","html5-sse","server-sent-events","golang","golang-libary","server-sent-event","html5","server","http"],"license":"MIT","category":"ai-agents","readme_excerpt":"go-sse Lightweight, fully spec-compliant HTML5 server-sent events library. Table of contents - go-sse - Table of contents - Installation and usage - Cut to the chase – how do I read my LLM's response? - Implementing a server - Providers and why they are vital - Meet Joe, the default provider - Publish your first event - The server-side \"Hello world\" - Using the client - Creating a client - Initiating a connection - Subscribing to events - Establishing the connection - Connection lost? - The \"Hello world\" server's client - License - Contributing Installation and usage Install the package using go get : It is strongly recommended to use tagged versions of go-sse in your projects. The master branch has tested but unreleased and maybe undocumented changes, which may break backwards compatibility - use with caution. The library provides both server-side and client-side implementations of the protocol. The implementations are completely decoupled and unopinionated: you can connect to a server created using go-sse from the browser and you can connect to any server that emits events using the client! If you are not familiar with the protocol or not sure how it works, read MDN's guide for using server-sent events. The spec is also useful read! go-sse promises to support the Go versions supported by the Go team – that is, the 2 most recent major releases. Cut to the chase – how do I read my LLM's response? If you're here just to read ChatGPT's, Claude's or whichever LLM's response stre","default_branch":null,"files":null,"tree":[],"storefront":"/r/tmaxmax","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tmaxmax/go-sse/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}