Files
waf-platform/EdgeCommon/pkg/systemconfigs/upgrade_config.go
2026-03-04 19:14:57 +08:00

13 lines
299 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package systemconfigs
// UpgradeConfig 升级设置
type UpgradeConfig struct {
AutoUpgrade bool `json:"autoUpgrade"` // 是否开启自动升级控制EdgeNode、EdgeDNS、EdgeHTTPDNS三个模块
}
func NewUpgradeConfig() *UpgradeConfig {
return &UpgradeConfig{
AutoUpgrade: false,
}
}