Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EventsRoute = websocket.New(func(c *websocket.Conn) { registerWebsocketConnection(c) var err error for { _, _, err = c.ReadMessage() if err != nil { break } } if !unregisterWebsocketConnection(c) { log.Println("Was unable to close websocket connection, this should not happen and is a bug") } })
Functions ¶
func SendMessage ¶
func SendString ¶
func SendString(payload string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.