feat: 支持多类型配置文件

This commit is contained in:
Mmx233
2022-01-21 22:39:05 +08:00
parent 04a9eb8291
commit 30878bd990
4 changed files with 120 additions and 34 deletions

View File

@@ -11,7 +11,6 @@ var Checker checker
// NetOk 网络状况检查
func (a *checker) NetOk(transport *http.Transport) bool {
h, i, e := tool.HTTP.GetReader(&tool.GetRequest{
Url: "https://www.baidu.com/",
Redirect: false,