Documentation
¶
Overview ¶
Package sse implements a streaming Server-Sent Events reader shared by the Rico and Paywall AI agent clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
Name string // value of the "event:" field, if any
Data string // "data:" lines joined with "\n"
Comment bool // frame contained only ":" comment lines
}
Event is one SSE frame. Comment-only frames (keepalives) are surfaced with Comment set so callers can reset inactivity timers.
Click to show internal directories.
Click to hide internal directories.