Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowTcpDial ¶
AllowTcpDial allows the tor transport to dial tcp address. By Default TcpDial is off.
func DoSlowStart ¶
DoSlowStart set the tor node to bootstrap only when a Dial or a Listen is issued. By Default DoSlowStart is off.
Types ¶
type Configurator ¶
func Merge ¶
func Merge(cs ...Configurator) Configurator
ConfMerge Merges different configs, starting at the first ending at the last.
func SetNodeDebug ¶
func SetNodeDebug(debug io.Writer) Configurator
SetNodeDebug set the writer for the tor node debug output.
func SetSetupTimeout ¶
func SetSetupTimeout(t time.Duration) Configurator
SetSetupTimeout change the timeout for the bootstrap of the node and the publication of the tunnel. By Default SetupTimeout is at 5 minutes.
Click to show internal directories.
Click to hide internal directories.