A simple server for creating & managing multiple Tor instances
You will need tor as well as postgres pre-installed with no special configurations
Install Deps:
$ ./script/bootstrap
Provision database:
$ ./script/recycle
Test it:
$ ./script/test
Build it:
$ go build
Run it:
./distribuTor
Currently, the API is simple and sweet with your basic CRUD operations:
POST localhost:8080/node/create
201 Created --
{
control_port: 9091,
port: 9091,
}
GET localhost/node/{control_port}
200 OK --
{
control_port: 9091,
port: 9091,
}
PATCH localhost:8080/node/{control_port}
202 Accepted --
DELETE localhost:8080/node/{control_port}
204 No Content --