This project simulates a distributed sensor network using Go. It demonstrates:
- Concurrency: Goroutines for simulating sensors.
- Synchronization:
sync.Mutexfor thread safety andsync.Oncefor one-time initialization. - Graceful Shutdown: Proper cleanup on program termination using signal handling.
- A sensor network that collects random data from sensors.
- Real-time data monitoring.
- Automatic shutdown after 1 minute or upon manual interruption (Ctrl+C).
go run main.go