This repository has been archived on 2026-07-29. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
GoEdgeCommon/pkg/systemconfigs/check_updates_config.go
T

16 lines
469 B
Go

// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
package systemconfigs
// CheckUpdatesConfig 检查更新配置
type CheckUpdatesConfig struct {
AutoCheck bool `yaml:"autoCheck" json:"autoCheck"` // 是否开启自动检查
IgnoredVersion string `yaml:"ignoredVersion" json:"ignoredVersion"` // 上次忽略的版本
}
func NewCheckUpdatesConfig() *CheckUpdatesConfig {
return &CheckUpdatesConfig{
AutoCheck: true,
}
}