Skip to content

Repository files navigation

Simple Collector

This application collect the short info by address list such as response code, latency. Output formats txt, json.

Installation with docker

  1. Install docker and docker-compose (if not installed)
  2. Clone repository simple_collector
  3. Go to repository directory
  4. Prepare i/o directory
    mkdir -p /tmp/simple_collector
    cp source/source.txt /tmp/simple_collector/
  5. Run
    docker-compose up
  6. Output
    cat /tmp/simple_collector/output.txt

Installation without docker

  1. Install golang (if not installed)
  2. Add $GOPATH/bin to your $PATH.
  3. Clone repository simple_collector
  4. Install dep (if not installed)
    go get -u github.com/golang/dep/cmd/dep
  5. Go to repository directory
  6. Run dep
    dep ensure -v
  7. Run
    cd cmd
    go build && ./cmd -source source.txt -output output.txt -t txt
  8. Output
    cat output.txt

About

Simple Collector

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages