Skip to content

Commit

Permalink
Updating notes about Tor
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasinsaurralde committed Jun 8, 2016
1 parent 57642d0 commit 9daf12b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,14 @@ I'm working on providing a [set of "marshalers" and a simple API to combine them

## Tor support

There's a Tor integration idea for the "server" side, I've did a few tests with it, under the following scenario:
There's a Tor integration idea for the server side, I've did a few tests with it, under the following scenario:

![Tor Diagram](docs/tor_diagram.png)

The [Whatsapp transport](https://github.com/matiasinsaurralde/transports/blob/master/transport_whatsapp.go) includes a flag to enable Tor (```UseTor```), I'm expecting to extend this flag to any transport.

The Tor support is achieved by overriding the default ```http.Transport``` dialer with a [custom one](https://github.com/matiasinsaurralde/transports/blob/master/transport.go#L24).

## Ideas/to-do

* Handle SSL.
Expand Down

0 comments on commit 9daf12b

Please sign in to comment.