AliSinaDevelo / go-healthcheck

A simple website health checker written in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-healthcheck

A simple website health checker written in Go

Installation

  1. Make sure you have Go installed on your system.

  2. Clone the repository:

    git clone https://github.com/AliSinaDevelo/go-healthcheck.git
  3. Navigate to the project directory:

    cd healthchecker
  4. Build the executable:

    go build

Usage

./healthchecker --domain example.com --port 80

Flags

  • --domain or -d: Domain name to check if it's running (required).
  • --port or -p: Port number (optional, default is 80).

Example

./healthchecker --domain example.com --port 80

This will output the status of the specified domain and port, indicating whether it is reachable.

Contributing

If you have suggestions or find issues, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A simple website health checker written in Go

License:MIT License


Languages

Language:Go 100.0%