Documentation ¶
Overview ¶
Package update provides functionality for updating the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckRepositoryVersion ¶
func CheckRepositoryVersion() string
func CheckUpdate ¶
func CheckUpdate() error
CheckUpdate checks if an update is available by comparing the repository version with the current version. If an update is available, it triggers the update process.
func FindConfigFile ¶
func GettingUpdate ¶
func GettingUpdate(permission string)
GettingUpdate requests the application update and manages the update process.
Types ¶
type Application ¶
type Application struct { Application struct { Version string `yaml:"version"` } `yaml:"application"` }
The Application represents the structure of the application version.
Click to show internal directories.
Click to hide internal directories.