package
Version:
v0.0.0-...-149ea5c
Opens a new window with list of versions in this module.
Published: Jul 24, 2017
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
InitWS add ws handler for api
IsUserConnected returns true is user with UserID is connected
func Send(userID string, data interface{})
Send - sends data to connected client
func SendService(serviceName string)
SendService notify user about state change
Source Files
¶
Click to show internal directories.
Click to hide internal directories.