From 769b058004f7b59a9d0cb97897760443afa55eeb Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Wed, 25 Apr 2018 10:11:11 -0400 Subject: [PATCH] more docs --- src/yggdrasil/config/config.go | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/yggdrasil/config/config.go b/src/yggdrasil/config/config.go index 0861f619..30c8d23d 100644 --- a/src/yggdrasil/config/config.go +++ b/src/yggdrasil/config/config.go @@ -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