config

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2018 License: LGPL-3.0 Imports: 0 Imported by: 0

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

type TorConfig

type TorConfig struct {
	OnionKeyfile string // hidden service private key for ADD_ONION (currently unimplemented)
	ControlAddr  string // tor control port address
	Enabled      bool
}

TorConfig is the configuration structure for Tor Proxy related values

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL