frontend

package
v2.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

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(
	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,
	restarter types.Restarter,
) Frontend

New returns initialized frontend based on `frontendType`, which can be `cli` or `qt`.

Directories

Path Synopsis
Package cli provides CLI interface of the Bridge.
Package cli provides CLI interface of the Bridge.
Package clientconfig provides automatic config of IMAP and SMTP.
Package clientconfig provides automatic config of IMAP and SMTP.
Package types provides interfaces used in frontend packages.
Package types provides interfaces used in frontend packages.

Jump to

Keyboard shortcuts

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