Registry / networking / r3labs-sse-v2

r3labs-sse-v2

JSON →
library2.10.0gogounverified

Server-Sent Events (SSE) client and server library for Go.

go get github.com/r3labs/sse/v2
INSTALL
IMPORT
SIG · R3LABS-SSE-V2
R
r3labs-sse-v2
networkinggov2.10.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sse
github.com/r3labs/sse/v2

Subscribe to SSE events from a server.

package main import ( "github.com/r3labs/sse/v2" ) func main() { client := sse.NewClient("http://example.com/events") client.Subscribe("messages", func(msg *sse.Event) { // handle event }) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.10.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
OpenAI (training)
1
Resources
r3labs-sse-v2 — go get r3labs-sse-v2 · libregistry