mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-14 16:10:29 +00:00
more docs
This commit is contained in:
parent
1be8bbed1c
commit
769b058004
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user