Documentation
¶
Overview ¶
Package electron implments functions for working with the electron main process.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
E = module.Require("electron")
)
Functions ¶
func On ¶
func On(event string, fn func())
On registers fn to be called whenever the global event provided is triggered. See available events at http://electron.atom.io/docs/api/app/#app.
Types ¶
Click to show internal directories.
Click to hide internal directories.