Documentation ¶
Index ¶
Constants ¶
View Source
const ( WSEvent_ElectronNewWindow = "electron:newwindow" WSEvent_ElectronCloseWindow = "electron:closewindow" WSEvent_Rpc = "rpc" )
Variables ¶
This section is empty.
Functions ¶
func BusyWaitForWindowId ¶
TODO fix busy wait -- but we need to wait until a new window connects back with a websocket returns true if the window is connected
func RegisterWSChannel ¶
func SendEventToElectron ¶
func SendEventToElectron(event WSEventType)
func UnregisterWSChannel ¶
func UnregisterWSChannel(connId string)
Types ¶
type WSEventType ¶
Click to show internal directories.
Click to hide internal directories.