myhttp fetches a url over the network and returns an md5 hash of the response gotten via the network call.
by Bubunyo Nyavor.
- Go +1.31.1 - The golang toolchain needs to be installed to run this project successfuly. To install the, the golang toolchain go here.
- Build application
go build -o myhttp- Run application with url as arguments and option flags
./myhttp [-parallel 3] example.com example2.com- The
parallelis an optional flag that sets the number of processes to run in parallel. It defaults to10if the flag is not provided. - The default value for maximum parallel processes is
30. ie. If the value set in parallel exceeds the maximum parallel process value, the maximum is used. You can reset this value by settingMAX_PROCin your environmental variables to a suitable value
go test