A simple website health checker written in Go
-
Make sure you have Go installed on your system.
-
Clone the repository:
git clone https://github.com/AliSinaDevelo/go-healthcheck.git
-
Navigate to the project directory:
cd healthchecker
-
Build the executable:
go build
./healthchecker --domain example.com --port 80
--domain
or-d
: Domain name to check if it's running (required).--port
or-p
: Port number (optional, default is 80).
./healthchecker --domain example.com --port 80
This will output the status of the specified domain and port, indicating whether it is reachable.
If you have suggestions or find issues, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.