Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WebSocketConnections map[*WebSocketConnection]bool
Functions ¶
func ActivateSocket ¶
func ActivateSocket(connection *WebSocketConnection)
func BroadcastMessageToWebSockets ¶
This function takes a MailItem and sends it to all open websockets.
func DestroyConnection ¶
func DestroyConnection(connection *WebSocketConnection)
Types ¶
Click to show internal directories.
Click to hide internal directories.