Skip to content

AgentNemo00/myhttp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyHTTP

This tool displays the MD5 hash of the response body from the given list of URLs

Install

go get github.com/AgentNemo00/myhttp

or clone

git clone github.com/AgentNemo00/myhttp

Tests

go test ./...

Run tests and generate coverage

go test -v ./... -coverprofile=coverage.out -covermode=count

Generate HTML report

go tool cover -html=coverage.out -o coverage.html

Generate console report

go tool cover -func=coverage.out

Usage

go run cmd/myhttp/main.go example.com

or multiple urls by space separated

go run cmd/myhttp/main.go adjust.com example.com https://httpbin.org

you can adjust the parallel processes using the flag

go run cmd/myhttp/main.go -parallel=2 adjust.com example.com httpbin.org

the default is 10 process

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published