2018-04-19 14:30:40 +00:00
|
|
|
package config
|
|
|
|
|
2018-04-25 14:11:11 +00:00
|
|
|
// NodeConfig defines all configuration values needed to run a signle yggdrasil node
|
2018-04-19 14:30:40 +00:00
|
|
|
type NodeConfig struct {
|
|
|
|
Listen string
|
|
|
|
AdminListen string
|
|
|
|
Peers []string
|
|
|
|
BoxPub string
|
|
|
|
BoxPriv string
|
|
|
|
SigPub string
|
|
|
|
SigPriv string
|
|
|
|
Multicast bool
|
|
|
|
LinkLocal string
|
|
|
|
IfName string
|
|
|
|
IfTAPMode bool
|
|
|
|
IfMTU int
|
|
|
|
Net NetConfig
|
|
|
|
}
|
|
|
|
|
2018-04-25 14:11:11 +00:00
|
|
|
// NetConfig defines network/proxy related configuration values
|
2018-04-19 14:30:40 +00:00
|
|
|
type NetConfig struct {
|
|
|
|
Tor TorConfig
|
|
|
|
I2P I2PConfig
|
|
|
|
}
|