Documentation
¶
Index ¶
Constants ¶
View Source
const ( GitHubOwner = "flatrun" GitHubRepo = "agent" BinaryName = "flatrun-agent" )
Variables ¶
This section is empty.
Functions ¶
func RestartService ¶
func RestartService() error
Types ¶
type UpdateResult ¶
type UpdateResult struct {
CurrentVersion string
LatestVersion string
UpdateAvailable bool
Downloaded bool
Installed bool
Message string
}
func CheckForUpdate ¶
func CheckForUpdate() (*UpdateResult, error)
func Update ¶
func Update(force bool) (*UpdateResult, error)
Click to show internal directories.
Click to hide internal directories.