【文件属性】:
文件名称:http-pinger:一个简单的工具来检查网站状态并通过电子邮件通知
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-30 08:17:37
Go
http pinger
一个简单的工具来检查网站状态并通过电子邮件通知。
构建可执行文件
go build http-pinger.go
从控制台运行
./http-pinger
或者:
go run http-pinger.go
配置文件
{
"lag": 30,
"interval": 60,
"urls_file": "urls.txt",
"smtp_username": "",
"smtp_password": "",
"smtp_host": "localhost",
"smtp_port": "25",
"email_subject": "http pinger",
"from_email": "admin@server.com",
"to_emails": ["admingroup@
【文件预览】:
http-pinger-master
----http-pinger.go(4KB)
----.gitignore(87B)
----config.json.example(288B)
----urls.txt.example(60B)
----README.md(923B)