Package-level declarations
Types
Link copied to clipboard
class ConfigurationBuilder
Link copied to clipboard
data class UpdaterConfiguration(val json: Json = Json { ignoreUnknownKeys = true }, val periodic: Duration? = null, val readTimeout: Duration = 30.seconds, val writeTimeout: Duration = 30.seconds, val notification: UpdaterConfigurationNotification = UpdaterConfigurationNotification(true))
The updater configuration
Link copied to clipboard
data class UpdaterConfigurationNotification(val notify: Boolean, val message: String = "New update has been found. Version {version} can be downloaded from {url}")
The updater configurations notification configuration
Functions
Link copied to clipboard
The Configuration function is an easy way to creating a UpdaterConfiguration, by providing simple solutions and an easy-to-understand format. If you want to use a more complex function, you can use the ConfigurationBuilder.