distribuTor

command module
v0.0.0-...-0924a6b Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2016 License: MIT Imports: 9 Imported by: 0

README

Build Status

A simple server for creating & managing multiple Tor instances

Getting started:

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

API Overview

Currently, the API is simple and sweet with your basic CRUD operations:

Spawn a new tor instance

POST localhost:8080/node/create

201 Created --
{
  control_port: 9091,
  port: 9091,
}

Get information on a tor instance

GET localhost/node/{control_port}

200 OK --
{
  control_port: 9091,
  port: 9091,
}

Request a tor instance to cycle it's IP

PATCH localhost:8080/node/{control_port}

202 Accepted --

Remove a tor instance

DELETE localhost:8080/node/{control_port}

204 No Content --

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