yggdrasil-go/src/yggdrasil/config/tor.go
2018-04-25 10:09:09 -04:00

9 lines
348 B
Go

package config
// TorConfig is the configuration structure for Tor Proxy related values
type TorConfig struct {
OnionKeyfile string // hidden service private key for ADD_ONION (currently unimplemented)
SocksAddr string // tor socks address
UseForAll bool // use tor proxy for all connections?
Enabled bool // use tor at all ?
}