mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-03 10:45:09 +03:00 
			
		
		
		
	more docs
This commit is contained in:
		
							parent
							
								
									1be8bbed1c
								
							
						
					
					
						commit
						769b058004
					
				
					 1 changed files with 2 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue