Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type I2PConfig ¶
type I2PConfig struct { Keyfile string // private key file or empty string for ephemeral keys Addr string // address of i2p api connector Enabled bool }
I2PConfig is the configuration structure for i2p related configuration
type NetConfig ¶
type NetConfig struct { Tor TorConfig `comment:"Experimental options for configuring peerings over Tor."` I2P I2PConfig `comment:"Experimental options for configuring peerings over I2P."` }
NetConfig defines network/proxy related configuration values
type NodeConfig ¶
type NodeConfig struct { Listen string `` /* 131-byte string literal not displayed */ AdminListen string `comment:"Listen address for admin connections Default is to listen for local\nconnections only on TCP port 9001."` Peers []string `comment:"List of connection strings for static peers in URI format, i.e.\ntcp://a.b.c.d:e or socks://a.b.c.d:e/f.g.h.i:j"` AllowedEncryptionPublicKeys []string `` /* 163-byte string literal not displayed */ EncryptionPublicKey string `` /* 131-byte string literal not displayed */ EncryptionPrivateKey string `comment:"Your private encryption key. DO NOT share this with anyone!"` SigningPublicKey string `comment:"Your public signing key. You should not ordinarily need to share\nthis with anyone."` SigningPrivateKey string `comment:"Your private signing key. DO NOT share this with anyone!"` MulticastInterfaces []string `` /* 207-byte string literal not displayed */ IfName string `` /* 146-byte string literal not displayed */ IfTAPMode bool `` /* 134-byte string literal not displayed */ IfMTU int `` /* 174-byte string literal not displayed */ }
NodeConfig defines all configuration values needed to run a signle yggdrasil node
Click to show internal directories.
Click to hide internal directories.