Documentation
¶
Overview ¶
Package linux is om, the Linux product: what the Desktop app is to macOS. It installs Core and the Connector, keeps the om daemon running, holds the connection intent and drives sign-in and updates, only through the owners Desktop calls: Core's manage, the Connector's own commands, and the daemon's socket.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // Executable is this om's path. Executable = os.Executable // User is the OS user om runs as. User = user.Current // Root prefixes the system's own paths: /run, /etc/systemd/system and /usr/local/bin. Root = "" // Input is om's standard input, where the daemon gives a move's secret. Input io.Reader = os.Stdin )
What om reads of the machine it runs on; tests replace them.
var MoveWait, MoveStep = 90 * time.Second, 3 * time.Second
MoveWait is how long om move reads back a move whose reply was lost, and MoveStep how often: Cloud decides a move within its secret's minute. Tests replace them.
var ReleaseKey = "kfCsrDY+JI5/qVJLQf7xJ10BlHNSt/NrnErRLnopuhs="
ReleaseKey is the Ed25519 public key that signs Linux releases, in base64. Cloud carries the same key; its private half exists only where releases are signed. Tests replace it.
Functions ¶
Types ¶
This section is empty.