This service makes http request to the url , hash response and prints hash value
- Semaphone(to restrict number of workers)
- Decorator(Roundtrip)
Before you begin you must have Go installed and configured properly for your computer. Please see https://golang.org/doc/install
I have created a Make file to facilitate building and running the project
make help
make build
go run main.go -parallel 3 google.com facebook.com yahoo.com yandex.com twitter.com reddit.com/r/funny reddit.com/r/notfunny baroquemusiclibrary.com
OR
./myhttp -parallel 3 google.com facebook.com yahoo.com yandex.com twitter.com reddit.com/r/funny reddit.com/r/notfunny baroquemusiclibrary.com
OR
./myhttp google.com