Documentation
¶
Overview ¶
Package updater provides automatic update functionality for the Finn daemon. It checks GitHub releases on startup and applies updates seamlessly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Result ¶
Result contains information about the update check result.
func CheckAndUpdate ¶
CheckAndUpdate checks for updates and applies them if available. Returns a Result indicating what happened.
The update process: 1. Query GitHub releases for the latest version 2. Compare with current version 3. If newer, download the archive 4. Validate SHA256 checksum 5. Replace current binary 6. Return success (caller should restart)
Click to show internal directories.
Click to hide internal directories.