5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-26 07:11:40 +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 package config
/** // NodeConfig defines all configuration values needed to run a signle yggdrasil node
* 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)
*/
type NodeConfig struct { type NodeConfig struct {
Listen string Listen string
AdminListen string AdminListen string
@ -23,6 +17,7 @@ type NodeConfig struct {
Net NetConfig Net NetConfig
} }
// NetConfig defines network/proxy related configuration values
type NetConfig struct { type NetConfig struct {
Tor TorConfig Tor TorConfig
I2P I2PConfig I2P I2PConfig