runtime

package
v2.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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 NewEvents

func NewEvents(log Logger) *Events

NewEvents creates a new log subsystem

func (*Events) AddFrontend

func (e *Events) AddFrontend(appFrontend frontend.Frontend)

func (*Events) Emit

func (e *Events) Emit(eventName string, data ...interface{})

func (*Events) Notify

func (e *Events) Notify(sender frontend.Frontend, name string, data ...interface{})

func (*Events) Off

func (e *Events) Off(eventName string)

func (*Events) OffAll

func (e *Events) OffAll()

func (*Events) On

func (e *Events) On(eventName string, callback func(...interface{})) func()

func (*Events) OnMultiple

func (e *Events) OnMultiple(eventName string, callback func(...interface{}), counter int) func()

func (*Events) Once

func (e *Events) Once(eventName string, callback func(...interface{})) func()

type Logger

type Logger interface {
	Trace(format string, v ...interface{})
}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL