Documentation
¶
Overview ¶
Package watch turns changes in cux's state into push notifications. It polls the same on-disk snapshot the panel reads, diffs it against the previous poll, and fires the handful of events worth waking a phone for — the ones a person actually wants to know about while away from the keyboard.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Run polls every interval and notifies via every target. It never fires on the first snapshot (that would announce state that predates the phone) and does nothing while no channel has a recipient. lang, when non-nil, returns the language code (tr/fr/de/it/en) the user picked in the panel, so notifications go out in that language.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.