Documentation ¶
Overview ¶
Package tor implements a library to query a TOR node via its control port.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Information ¶
type Information struct { Version string In int Out int Fingerprint string Flags []string Circuits int }
An Information represents various TOR info on the node.
func Info ¶
func Info(hostPort, pwd string) (*Information, error)
Info obtains information on a TOR node by connecting to its control protocol.
func (*Information) String ¶
func (i *Information) String() string
String formats Information on one line.
Click to show internal directories.
Click to hide internal directories.