Documentation ¶
Index ¶
Constants ¶
View Source
const AppVersion = "0.7.1"
Variables ¶
View Source
var SaveReport, Verbose, Debug, Offline, Plain bool
View Source
var WdcConfig = Config{
ID: "WDC",
URL: "https://warp-diag-checker.pages.dev/wdc-config.yaml",
Path: "./wdc-config.yaml",
File: "wdc-config.yaml",
}
Functions ¶
func CheckForAppUpdate ¶
func CheckForAppUpdate()
func GetOrLoadConfig ¶
func GetOrLoadConfig(c Config)
func LoadConfig ¶
func LoadConfig(c Config)
func LocalConfig ¶
func LocalConfig(c Config)
func RemoteConfig ¶
func SaveConfig ¶
Types ¶
type WDCYaml ¶
type WDCYaml struct { WDCReleaseVersion string `yaml:"wdc_latest_version"` WDDReleaseVersion string `yaml:"wdd_latest_version"` ConfigVersion string `yaml:"config_version"` BadVersions []string `yaml:"bad_versions"` LogPatternsByIssue []struct { SearchFile string `yaml:"search_file"` Issue map[string]struct { SearchTerms []string `yaml:"search_term"` } `yaml:"issue_type"` ReplyType map[string]struct { Message string `yaml:"message"` } `yaml:"reply_type"` } `yaml:"log_patterns_by_issue"` ReplyByIssueType map[string]struct { Message string `yaml:"message"` } `yaml:"reply_by_issue_type"` }
var WdcConf WDCYaml
Click to show internal directories.
Click to hide internal directories.