docs: 增加注释

This commit is contained in:
Mmx
2021-12-02 13:46:01 +08:00
parent 680130aaef
commit 07d66ced1e
6 changed files with 18 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ type checker struct{}
var Checker checker
// NetOk 网络状况检查
func (checker) NetOk(timeout uint) bool {
h, _, e := tool.HTTP.GetBytes(&tool.GetRequest{
Url: "https://www.baidu.com/",