Skip to content

Anuj-verse/health_monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Go-Health-Monitor πŸš€

A high-performance, concurrent CLI tool built in Go to monitor website availability. This project demonstrates core Go concepts like Goroutines, Channels, and Structs, packaged as a lightweight Docker container.

πŸ›  Features

  • Concurrent Execution: Uses Goroutines to check multiple URLs simultaneously rather than one-by-one.
  • Thread-Safe Communication: Implements Go Channels to synchronize results back to the main thread.
  • Robust Error Handling: Captures network timeouts and DNS errors using a custom res struct.
  • Containerized: Multi-stage Docker build resulting in a tiny footprint (<20MB).

πŸš€ Getting Started

Prerequisites

  • Go 1.21+ (if running locally)
  • Docker (if running as a container)

Running Locally

go run health_monitor.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors