Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPAPIConfig ¶
type HTTPConfig ¶
type HTTPConfig struct {
API HTTPAPIConfig `mapstructure:"api"`
}
type NodeConfig ¶
type NodeConfig struct { P2P P2PConfig `mapstructure:"p2p"` KeyPair *ed25519.KeyPairEd25519 DB db.KVStore Logger *zap.Logger HTTP HTTPConfig `mapstructure:"http"` }
type P2PConfig ¶
type P2PConfig struct { Network string `mapstructure:"network"` Peers PeersConfig `mapstructure:"peers"` MaxOutgoingPeerFailures uint `mapstructure:"max_outgoing_peer_failures"` MaxConnectionAttempts uint `mapstructure:"max_connection_attempts"` }
type PeersConfig ¶
Click to show internal directories.
Click to hide internal directories.