[][src]Module ergo_node_interface::local_config

Functions

acquire_node_interface_from_local_config

A ease-of-use function which attempts to acquire a NodeInterface from a local file. If the file does not exist, it generates a new config file, tells the user to edit the config file, and then closes the running application This is useful for CLI applications, however should not be used by GUI-based applications.

create_new_local_config_file

Create a new node-interface.config with the barebones yaml inside

does_local_config_exist

Basic function to check if a local config currently exists

new_interface_from_local_config

Opens a local node-interface.yaml file and uses the data inside to create a NodeInterface

new_interface_from_yaml

Uses the config yaml provided to create a new NodeInterface