Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct { ID g.String // ID uniquely identifies the event. Event g.String // Event specifies the type of the event. Data g.String // Data holds the raw JSON data associated with the event as a string. Retry g.Int // Retry indicates the number of retry attempts for the event. }
Event represents a Server-Sent Event.
Click to show internal directories.
Click to hide internal directories.