配置文件注释

This commit is contained in:
xljiulang 2021-06-20 00:55:30 +08:00
parent aca1bb389c
commit 15851e6850

View File

@ -1,9 +1,40 @@
{ {
"Dns": { "Dns": {
"UpStream": "114.114.114.114", "UpStream": "114.114.114.114", // dns
"GithubTTL": "00:10:00" "GithubTTL": "00:10:00" // github
}, },
"Github": { "Github": {
"Lookup": { // ip
"Domains": [ // github
"github.com",
"api.github.com",
"collector.githubapp.com",
"github.githubassets.com",
"raw.githubusercontent.com",
"avatars.githubusercontent.com",
"favicons.githubusercontent.com"
],
"IPAddressComProvider": {
"Enable": true // address.comip
},
"GithubMetaProvider": {
"Enable": true, // githubip
"MetaUri": "https://gitee.com/jiulang/fast-github/raw/master/FastGithub/meta.json"
},
"PublicDnsProvider": {
"Enable": true, // dnsip
"Dnss": [ // dns
"1.2.4.8",
"8.8.8.8",
"223.5.5.5",
"123.125.81.6",
"180.76.76.76",
"119.29.29.29",
"208.67.220.220",
"114.114.114.114"
]
}
},
"Scan": { "Scan": {
"FullScanInterval": "02:00:00", // "FullScanInterval": "02:00:00", //
"ResultScanInterval": "00:01:00", // "ResultScanInterval": "00:01:00", //
@ -13,55 +44,30 @@
}, },
"HttpsScan": { "HttpsScan": {
"Timeout": "00:00:05", // https "Timeout": "00:00:05", // https
"ConnectionClose": false, // ÊÇ·ñʹÓÃÌÁ¬½Ó "ConnectionClose": false, // 使https
"Rules": { "Rules": { // HEAD
"github.com": { "github.com": {
"Method": "HEAD",
"Path": "/xljiulang/FastGithub" "Path": "/xljiulang/FastGithub"
}, },
"github.githubassets.com": { "github.githubassets.com": {
"Method": "HEAD", "Method": "HEAD",
"Path": "/favicons/favicon.png" "Path": "/favicons/favicon.png"
}, },
"raw.githubusercontent.com": {
"Method": "HEAD",
"Path": "/xljiulang/FastGithub/master/README.md"
},
"avatars.githubusercontent.com": { "avatars.githubusercontent.com": {
"Method": "HEAD", "Method": "HEAD",
"Path": "/u/8308014?s=40&v=4" "Path": "/u/8308014?s=40&v=4"
}, },
"raw.githubusercontent.com": { "favicons.githubusercontent.com": {
"Method": "HEAD", "Method": "HEAD",
"Path": "/xljiulang/FastGithub/master/README.md" "Path": "/github.com"
} }
} }
} }
},
"Lookup": {
"Domains": [
"github.com",
"api.github.com",
"collector.githubapp.com",
"github.githubassets.com",
"raw.githubusercontent.com",
"avatars.githubusercontent.com"
],
"IPAddressComProvider": {
"Enable": true
},
"GithubMetaProvider": {
"Enable": true,
"MetaUri": "https://gitee.com/jiulang/fast-github/raw/master/FastGithub/meta.json"
},
"PublicDnsProvider": {
"Enable": true,
"Dnss": [
"8.8.8.8",
"114.114.114.114",
"180.76.76.76",
"119.29.29.29",
"223.5.5.5",
"1.2.4.8",
"208.67.220.220",
"123.125.81.6"
]
}
} }
}, },
"Logging": { "Logging": {