Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giorgimakharadze/website-status-checker-golang
https://github.com/giorgimakharadze/website-status-checker-golang
golang
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/giorgimakharadze/website-status-checker-golang
- Owner: GiorgiMakharadze
- Created: 2023-08-27T12:58:09.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-27T13:03:23.000Z (over 1 year ago)
- Last Synced: 2024-04-09T14:45:00.227Z (9 months ago)
- Topics: golang
- Language: Go
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project Title
## Website Status Checker
## Description
The Website Status Checker is a simple Go program designed to check the status of websites by sending HTTP requests and verifying their accessibility. It operates concurrently, ensuring quick checks even for a large number of websites.
## Features
1. Concurrent Website Checking: Utilizes Go's concurrency model (goroutines) for efficient status checking.
2. Custom URL Input: Users have the flexibility to specify their own set of URLs via command-line arguments.
3. Default URL Set: If no URLs are provided, the program will check a predefined list of popular websites## Usage
First, ensure you have Go installed. If not, you can download and install it from the official Go website.
Clone the repository:
```bash
git clone https://github.com/GiorgiMakharadze/website-status-checker-golang.git
``````bash
cd path-to-status-checker-directory
```### Running the Program
```bash
go run main.go
```To check custom URLs, provide them as command-line arguments:
```bash
go run main.go http://example1.com http://example2.com
```## Testing:
To run the unit tests:
```bash
go test
```