package
Version:
v0.35.0
Opens a new window with list of versions in this module.
Published: Apr 26, 2026
License: MIT
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
IsRunning checks if a daemon process is alive using the PID file.
ReadPID reads the process ID from the given path.
RemovePID removes the PID file.
WritePID writes the current process ID to the given path.
Daemon is the long-running background process that manages email
connections, caching, sync, and notifications.
New creates a daemon with the given config.
ReloadConfig reloads the configuration from disk.
Run starts the daemon: creates providers, starts the socket listener,
starts background sync, and blocks until shutdown.
Shutdown triggers a graceful shutdown.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.