go-healthcheck

command module
v0.0.0-...-7da8492 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2019 License: MIT Imports: 7 Imported by: 0

README

go-healthcheck

This program will check the websites that still healthy or not when given the CSV file. It will report to the hiring line website after finished a health check. You will need to login to the Line platform to send the report.

Usage

go-healthechk test.csv

This runs a health check for every website in CSV file. If it is not timeout then will consider as a success.

Output:

Perform website checking...
Done!

Checked websites: 75
Successful websites: 54
Failure websites: 21
Total times to finished checking website: 30006 ms

Login with Line to send a report to hiring line. Please allow and login in your browser.
Login successfully
Sending report...
Send report successfully!

CSV File Spec

CSV file must have 1 URL header and HTTP or HTTPS before a domain name.

Example:

url
https://google.com
https://blognone.com
https://macthai.com

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL