5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-15 08:30:28 +00:00
yggdrasil-go/src/yggdrasil/config/config.go

26 lines
571 B
Go
Raw Normal View History

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 {
2018-05-07 22:05:54 +00:00
Listen string
AdminListen string
Peers []string
AllowedBoxPubs []string
BoxPub string
BoxPriv string
SigPub string
SigPriv string
Multicast bool
LinkLocal string
IfName string
IfTAPMode bool
IfMTU int
Net NetConfig
2018-04-19 14:30:40 +00:00
}
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
}