Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Run starts the system tray applet. Unless already running as a daemon (or under launchd), it re-execs itself detached from the terminal and returns immediately so the shell prompt is restored. When launched by launchd, XPC_SERVICE_NAME is set and we run foreground directly — launchd owns the process lifecycle.
Types ¶
type Snapshot ¶
type Snapshot struct {
Running bool
NginxRunning bool
DNSOK bool
PHPVersions []phpInfo
PHPDefault string
Services []serviceInfo
AutostartEnabled bool
LANExposed bool // lerd lan expose state — drives the LAN toggle item
LatestVersion string // non-empty (e.g. "v0.8.5") when a newer version is available
}
Snapshot holds the state polled from the Lerd API.
Click to show internal directories.
Click to hide internal directories.