Documentation ¶
Overview ¶
Package to provide a server-side instance for SSE.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Streamer *sse.Server
Functions ¶
func BroadcastMessage ¶
func BroadcastMessage(data, eventName string)
BroadcastMessage is a wrapper function for a SSE message sending.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.