Documentation ¶
Index ¶
- Variables
- type Events
- func (e *Events) AddFrontend(appFrontend frontend.Frontend)
- func (e *Events) Emit(eventName string, data ...interface{})
- func (e *Events) Notify(sender frontend.Frontend, name string, data ...interface{})
- func (e *Events) Off(eventName string)
- func (e *Events) OffAll()
- func (e *Events) On(eventName string, callback func(...interface{})) func()
- func (e *Events) OnMultiple(eventName string, callback func(...interface{}), counter int) func()
- func (e *Events) Once(eventName string, callback func(...interface{})) func()
- type Logger
- type RuntimeAssets
Constants ¶
This section is empty.
Variables ¶
View Source
var DesktopIPC []byte
View Source
var RuntimeAssetsBundle = &RuntimeAssets{ desktopIPC: DesktopIPC, runtimeDesktopJS: RuntimeDesktopJS, }
View Source
var RuntimeDesktopJS []byte
Functions ¶
This section is empty.
Types ¶
type Events ¶
type Events struct {
// contains filtered or unexported fields
}
Events handles eventing
func (*Events) AddFrontend ¶
func (*Events) OnMultiple ¶
type RuntimeAssets ¶
type RuntimeAssets struct {
// contains filtered or unexported fields
}
func (*RuntimeAssets) DesktopIPC ¶
func (r *RuntimeAssets) DesktopIPC() []byte
func (*RuntimeAssets) RuntimeDesktopJS ¶
func (r *RuntimeAssets) RuntimeDesktopJS() []byte
func (*RuntimeAssets) WebsocketIPC ¶
func (r *RuntimeAssets) WebsocketIPC() []byte
Click to show internal directories.
Click to hide internal directories.