yggdrasil-go/src/yggdrasil/config/tor.go

10 lines
348 B
Go
Raw Normal View History

2018-04-19 17:30:40 +03:00
package config
2018-04-25 17:09:09 +03:00
// TorConfig is the configuration structure for Tor Proxy related values
2018-04-19 17:30:40 +03:00
type TorConfig struct {
2018-04-25 17:09:09 +03:00
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 ?
2018-04-19 17:30:40 +03:00
}