Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEventStream ¶
func GetEventStream(w http.ResponseWriter, r *http.Request)
GetEventStream streams events in text/event-stream format.
GET /api/event/stream/{channel}
func SendEvents ¶
func SendEvents(w http.ResponseWriter, r *http.Request, channels []string)
SendEvents streams events from specified channels as Server Sent Events packets
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.