# Functions
AllowedServiceCmd returns a list of acceptable commands for ControlAppService function.
AuthFromKeyring tries to find tokens inside local keychain and feed the conf with them.
AuthToKeyring tries to store tokens in local keychain and remove them from the conf.
ClearKeyring removes tokens from local keychain, if they are present.
ControlAppService sends a command to the service.
Default provides a usable config object.
GetAppService returns a usable kardianos Service.
GetHttpAddress tries to bind to an available port between 3636 and 3666 and returns the first port available.
GetHttpProtocol returns the protocol to use for binding.
No description provided by the author
No description provided by the author
LoadFromFile loads a Global config from a JSON file.
NewLogs creates defaults for Logs.
NewUpdates creates defaults for Updates.
ProcessName computes the actual path to current process.
NotRunningAsService overrides service.Interactive() function by additionally checking if service is really installed, as on MacOS the .app is launched by "launchd" just like the service.
Save writes the config to the JSON file.
ServiceInstalled checks if background service is installed.
No description provided by the author
Status returns the status of the background service.
SyncClientDataDir finds the user directory where to store all application data.
Watch provides a chan emitting events on config changes.
WriteToFile stores a Global config JSON-encoded.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
AuthChange is an event emitted when an Authority is updated.
Authority represent an active account where user has logged in using the OpenID Connect workflow.
Debugging is a simple section for showing/hiding special debug panels.
Global is the main struct representing configs.
Logs represents the logs configuration.
No description provided by the author
Service is a simple section for enabling/disabling shortcuts or service (depending on OS).
No description provided by the author
ShortcutOptions defines where to create shortcuts.
Task represents a sync task configuration.
TaskChange is an event sent when something changes inside the configs tasks.
Updates represents the update-mechanism configuration.
# Interfaces
ShortcutInstaller provides tools for installing / removing os-shortcuts for automatic startup.
# Type aliases
No description provided by the author