Registry / networking / donovanhide-eventsource

donovanhide-eventsource

JSON →
library0.0.0-20210830082556-c59027999da0gogounverified

A client and server implementation for Server-Sent Events (SSE) over HTTP.

go get github.com/donovanhide/eventsource
INSTALL
IMPORT
SIG · DONOVANHIDE-EVENTS
D
donovanhide-eventsource
networkinggov0.0.0-20210830082556-c59027999da0
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.

eventsource
github.com/donovanhide/eventsource

Subscribes to an SSE stream and reads events.

package main import "github.com/donovanhide/eventsource" func main() { stream, _ := eventsource.Subscribe("http://example.com/events", "") for ev := range stream.Events { _ = ev } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20210830082556-c59027999da0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Amazon
1
OpenAI (training)
1
Resources
donovanhide-eventsource — go get donovanhide-eventsource · libregistry