olx-parser

command module
v0.0.0-...-f06b9c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2018 License: MIT Imports: 16 Imported by: 0

README

TODO

 * olx client
 * select / change config from checkboxes
 * storage (mongo?)
 * cross-posting / mail

usage

Set variables for running it locally with:

export SERVICE_PORT="8000"

go test -v && env CGO_ENABLED=0 GOOS=linux go build -o olx-parser .
docker build -t olx-parser -f ./Dockerfile .
docker run -p 8000:8000 olx-parser

request (will be changed) for debug:

curl --header "Content-Type: application/json" \
        --request POST \
        http://0.0.0.0:8000/adverts -o response-example.json | jq .

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL