Versions in this module Expand all Collapse all v0 v0.4.16 Feb 22, 2022 Changes in this version + func Run(o Options) (err error) + func SendMessage(w *astilectron.Window, name string, payload interface{}, cs ...CallbackMessage) error + type Asset func(name string) ([]byte, error) + type AssetDir func(name string) ([]string, error) + type AstilectronAdapter func(w *astilectron.Astilectron) + type CallbackMessage func(m *MessageIn) + type MessageHandler func(w *astilectron.Window, m MessageIn) (payload interface{}, err error) + type MessageIn struct + Name string + Payload json.RawMessage + type MessageOut struct + Name string + Payload interface{} + type OnWait func(a *astilectron.Astilectron, w []*astilectron.Window, m *astilectron.Menu, ...) error + type Options struct + Adapter AstilectronAdapter + Asset Asset + AssetDir AssetDir + AstilectronOptions astilectron.Options + Debug bool + IgnoredSignals []os.Signal + Logger astikit.StdLogger + MenuOptions []*astilectron.MenuItemOptions + MenuOptionsFunc func(*astilectron.Astilectron) []*astilectron.MenuItemOptions + OnWait OnWait + ResourcesPath string + RestoreAssets RestoreAssets + TrayMenuOptions []*astilectron.MenuItemOptions + TrayOptions *astilectron.TrayOptions + Windows []*Window + WithOns map[string]WithOn + type RestoreAssets func(dir, name string) error + type Window struct + Adapter WindowAdapter + Homepage string + MessageHandler MessageHandler + Options *astilectron.WindowOptions + type WindowAdapter func(w *astilectron.Window) + type WithOn func(e astilectron.Event) (deleteListener bool)