yggdrasil-go/src/config/tor.go

9 lines
274 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)
2018-04-26 17:26:10 +03:00
ControlAddr string // tor control port address
Enabled bool
2018-04-19 17:30:40 +03:00
}