5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-25 23:01:38 +00:00

more docs

This commit is contained in:
Jeff Becker 2018-04-25 10:11:11 -04:00
parent 1be8bbed1c
commit 769b058004
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -1,12 +1,6 @@
package config
/**
* This is a very crude wrapper around src/yggdrasil
* It can generate a new config (--genconf)
* It can read a config from stdin (--useconf)
* It can run with an automatic config (--autoconf)
*/
// NodeConfig defines all configuration values needed to run a signle yggdrasil node
type NodeConfig struct {
Listen string
AdminListen string
@ -23,6 +17,7 @@ type NodeConfig struct {
Net NetConfig
}
// NetConfig defines network/proxy related configuration values
type NetConfig struct {
Tor TorConfig
I2P I2PConfig