# Functions
CreateIdentity initializes a new identity.
Filename returns the configuration file path given a configuration root directory.
No description provided by the author
No description provided by the author
Load reads the json-serialized config at the specified path.
Marshal configuration with JSON.
NewAdminServer instantiates a new AdminServer config with default values.
NewBootstrap instantiates a new Bootstrap config with default values.
NewDatastore instantiates a new Datastore config with default values.
NewDelegatedRouting instantiates a new delegated routing config with default values.
NewDirectAnnounce returns DirectAnnounce with values set to their defaults.
NewHttpPublisher instantiates a new config with default values.
NewIngest instantiates a new Ingest configuration with default values.
NewPolicy returns Policy with values set to their defaults.
NewProviderServer instantiates a new ProviderServer config with default values.
Path returns the config file path relative to the configuration root.
PathRoot returns the default configuration root directory.
# Constants
DefaultConfigFile is the filename of the configuration file.
DefaultPathName is the default config dir name.
DefaultPathRoot is the path to the default config dir location.
EnvDir is the environment variable used to change the path root.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
ErrInvalidPeerAddr signals an address is not a valid peer address.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
Config is used to load config files.
Datastore tracks the configuration of the datastore.
DelegatedRouting tracks the configuration of delegated routing server.
DirectAnnounce configures the target indexers that advertisement announce messages are sent directly to via HTTP.
No description provided by the author
Identity tracks the configuration of the local node's identity.
Ingest configures settings related to the ingestion protocol.
Policy configures which indexer peers are allowed and which are blocked.
No description provided by the author
# Type aliases
Duration wraps time.Duration to provide json serialization and deserialization.
No description provided by the author