Skip to content

prasannareddys/myhttp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this service

This service makes http request to the url , hash response and prints hash value

Used patterns

  • Semaphone(to restrict number of workers)
  • Decorator(Roundtrip)

Running and building project

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

Please use following command to get available options

make help

Build Project

make build

How to run service

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

About

makes http request to url and hash response

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published