Commit Graph

4 Commits

Author SHA1 Message Date
erinn 9c1c5ef98a tidying up code paths and making detport selection a little better 2018-10-09 10:13:43 -07:00
Ivan Markin 3cc4ebc379 Add expanded interface for ADD_ONION (NewOnion) to use special configuration
structs that implements all ADD_ONION flags.
Corresponding interface for creating onion Listener (NewListener) that also
makes onion Listeners use multiple virtual ports.
Some code simplifications.
2017-01-30 13:23:57 +00:00
Yawning Angel 2a8b7b287f Add usage example of generating a RSA private key for the Listener. 2015-10-10 15:22:50 +00:00
Yawning Angel 7d26c026b2 Added c.Listener() which returns a net.Listener.
Likewise, different from David S' implementation.
2015-10-10 15:01:05 +00:00