haiswork c9f81f3dca add port env | 6 years ago | |
---|---|---|
cmd | 6 years ago | |
config | 6 years ago | |
docs | 6 years ago | |
internal | 6 years ago | |
migrations | 6 years ago | |
service | 6 years ago | |
vendor | 6 years ago | |
.env.example | 6 years ago | |
.gitignore | 6 years ago | |
Makefile | 6 years ago | |
README.md | 6 years ago | |
go.mod | 6 years ago | |
go.sum | 6 years ago | |
main.go | 6 years ago |
http 状态监控
每隔 10s
轮询检查一次所有的 监控 urls
,当 httpCode!=200
或 超时
时,发送报警邮件,当 url
状态恢复时,发送恢复邮件