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() }
Frontend is an interface to be implemented by each frontend type (cli, gui, html).
func New ¶
func New( version, buildVersion, programName, frontendType string, showWindowOnStart bool, panicHandler types.PanicHandler, locations *locations.Locations, settings *settings.Settings, eventListener listener.Listener, updater types.Updater, userAgent *useragent.UserAgent, bridge *bridge.Bridge, noEncConfirmator types.NoEncConfirmator, autostart *autostart.App, restarter types.Restarter, ) Frontend
New returns initialized frontend based on `frontendType`, which can be `cli` or `qt`.
func NewImportExport ¶
func NewImportExport( version, buildVersion, programName, frontendType string, panicHandler types.PanicHandler, locations *locations.Locations, settings *settings.Settings, eventListener listener.Listener, updater types.Updater, ie *importexport.ImportExport, restarter types.Restarter, ) Frontend
NewImportExport returns initialized frontend based on `frontendType`, which can be `cli` or `qt`.
Directories ¶
Path | Synopsis |
---|---|
Package autoconfig provides automatic config of IMAP and SMTP.
|
Package autoconfig provides automatic config of IMAP and SMTP. |
Package cli provides CLI interface of the Bridge.
|
Package cli provides CLI interface of the Bridge. |
Package cliie provides CLI interface of the Import-Export app.
|
Package cliie provides CLI interface of the Import-Export app. |
Package types provides interfaces used in frontend packages.
|
Package types provides interfaces used in frontend packages. |
Click to show internal directories.
Click to hide internal directories.