Documentation ¶
Overview ¶
Package frontend provides all interfaces of the Bridge.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlePanic ¶
func HandlePanic(appName string)
HandlePanic handles panics which occur for users with GUI.
Types ¶
type Frontend ¶
Frontend is an interface to be implemented by each frontend type (cli, gui, html).
func New ¶
func New( version, buildVersion, frontendType string, showWindowOnStart bool, panicHandler types.PanicHandler, config *config.Config, preferences *config.Preferences, eventListener listener.Listener, updates types.Updater, bridge *bridge.Bridge, noEncConfirmator types.NoEncConfirmator, ) Frontend
New returns initialized frontend based on `frontendType`, which can be `cli` or `qt`.
func NewImportExport ¶
func NewImportExport( version, buildVersion, frontendType string, panicHandler types.PanicHandler, config *config.Config, eventListener listener.Listener, updates types.Updater, ie *importexport.ImportExport, ) 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 qt is the Qt User interface for Desktop bridge.
|
Package qt is the Qt User interface for Desktop bridge. |
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.