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

26 lines
529 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 {
Listen string
AdminListen string
Peers []string
PeerBoxPubs []string
2018-04-19 14:30:40 +00:00
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
}