mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 20:40:25 +08:00
增加自动检查系统更新设置
This commit is contained in:
8
pkg/systemconfigs/check_updates_config.go
Normal file
8
pkg/systemconfigs/check_updates_config.go
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||||||
|
|
||||||
|
package systemconfigs
|
||||||
|
|
||||||
|
// CheckUpdatesConfig 检查更新配置
|
||||||
|
type CheckUpdatesConfig struct {
|
||||||
|
AutoCheck bool `yaml:"autoCheck" json:"autoCheck"`
|
||||||
|
}
|
||||||
@@ -10,6 +10,7 @@ const (
|
|||||||
SettingCodeAdminSecurityConfig SettingCode = "adminSecurityConfig" // 管理员安全设置
|
SettingCodeAdminSecurityConfig SettingCode = "adminSecurityConfig" // 管理员安全设置
|
||||||
SettingCodeDatabaseConfigSetting SettingCode = "databaseConfig" // 数据库相关配置
|
SettingCodeDatabaseConfigSetting SettingCode = "databaseConfig" // 数据库相关配置
|
||||||
SettingCodeAccessLogQueue SettingCode = "accessLogQueue" // 访问日志队列
|
SettingCodeAccessLogQueue SettingCode = "accessLogQueue" // 访问日志队列
|
||||||
|
SettingCodeCheckUpdates SettingCode = "checkUpdates" // 检查自动更新配置
|
||||||
|
|
||||||
SettingCodeNSAccessLogSetting SettingCode = "nsAccessLogSetting" // NS相关全局配置
|
SettingCodeNSAccessLogSetting SettingCode = "nsAccessLogSetting" // NS相关全局配置
|
||||||
SettingCodeNSNodeMonitor SettingCode = "nsNodeMonitor" // 监控NS节点状态
|
SettingCodeNSNodeMonitor SettingCode = "nsNodeMonitor" // 监控NS节点状态
|
||||||
Reference in New Issue
Block a user