Documentation
¶
Overview ¶
Package frontend provides all interfaces of the Bridge.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Frontend ¶
type Frontend interface {
Loop() error
NotifyManualUpdate(update updater.VersionInfo, canInstall bool)
SetVersion(update updater.VersionInfo)
NotifySilentUpdateInstalled()
NotifySilentUpdateError(error)
WaitUntilFrontendIsReady()
}
func New ¶
func New( frontendType string, showWindowOnStart bool, panicHandler types.PanicHandler, eventListener listener.Listener, updater types.Updater, bridge *bridge.Bridge, restarter types.Restarter, ) Frontend
New returns initialized frontend based on `frontendType`, which can be `cli` or `grpc`.
Click to show internal directories.
Click to hide internal directories.