This application collect the short info by address list such as response code, latency. Output formats txt, json.
- Install docker and docker-compose (if not installed)
- Clone repository simple_collector
- Go to repository directory
- Prepare i/o directory
mkdir -p /tmp/simple_collector cp source/source.txt /tmp/simple_collector/
- Run
docker-compose up
- Output
cat /tmp/simple_collector/output.txt
- Install golang (if not installed)
- Add
$GOPATH/bin
to your$PATH
. - Clone repository simple_collector
- Install dep (if not installed)
go get -u github.com/golang/dep/cmd/dep
- Go to repository directory
- Run dep
dep ensure -v
- Run
cd cmd go build && ./cmd -source source.txt -output output.txt -t txt
- Output
cat output.txt