package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Oct 23, 2019
License: AGPL-3.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
CreateTrustEvaluator maps a peer config map into an evaluator that returns the
configured trust levels
Peer represents the parsed info about a peer read from the config file
PeerData represents the raw data to configure a peer read from the config file
Parse validates the info in the PeerData and returns the parsed tuple + error
Peers represents a set of peer configs, with handy access methods that avoid
boiler plate for peers that are not configured
Name returns the name of the peer, if configured, or else its key string
Trust returns the configured trust level (if present and valid) or else the provided default
Server describes the configuration for the server, after parsing from various sources
Source Files
¶
Click to show internal directories.
Click to hide internal directories.