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(b types.Bridger) error NotifyManualUpdate(update updater.VersionInfo, canInstall bool) SetVersion(update updater.VersionInfo) NotifySilentUpdateInstalled() NotifySilentUpdateError(error) WaitUntilFrontendIsReady() }
func New ¶
func New( frontendType Type, showWindowOnStart bool, panicHandler types.PanicHandler, eventListener listener.Listener, updater types.Updater, restarter types.Restarter, locations *locations.Locations, parentPID int, ) Frontend
New returns initialized frontend based on `frontendType`, which can be `CLI` or `GRPC`. Non-interactive will return a nil frontend.
Click to show internal directories.
Click to hide internal directories.