mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 14:15:06 +03:00
9 lines
348 B
Go
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 ?
|
|
}
|