16 Star 55 Fork 29

光宇开源 / SmartPing

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ping.go 514 Bytes
一键复制 编辑 原始数据 按行查看 历史
ToryZen 提交于 2017-09-24 14:54 . v0.4.0 pre release
package funcs
import (
"../g"
"../ping"
"database/sql"
"github.com/gy-games-libs/seelog"
)
func StartSysPing(t g.Target, db *sql.DB, config g.Config) {
seelog.Info("Start SysPing " + t.Addr + "..")
rt := ping.SysPing(t.Addr)
StoragePing(rt, t, db)
seelog.Info("Finish SysPing " + t.Addr + "..")
}
func StartGoPing(t g.Target, db *sql.DB, config g.Config) {
seelog.Info("Start GoPing " + t.Addr + "..")
rt := ping.GoPing(t.Addr)
StoragePing(rt, t, db)
seelog.Info("Finish GoPing " + t.Addr + "..")
}
Go
1
https://gitee.com/gy-games/smartping.git
git@gitee.com:gy-games/smartping.git
gy-games
smartping
SmartPing
v0.4.1

搜索帮助