Crate lilith

Source

Structsยง

Args ๐Ÿ”’
Lilith ๐Ÿ”’
Struct representing the daemon
NetInfo ๐Ÿ”’
Defines the network-specific settings
SignalHandler ๐Ÿ”’
Auxiliary structure used to keep track of signals
Spawn ๐Ÿ”’
Struct representing a spawned P2P network

Constantsยง

CONFIG_FILE ๐Ÿ”’
CONFIG_FILE_CONTENTS ๐Ÿ”’

Functionsยง

handle_abort ๐Ÿ”’
Auxiliary task to handle SIGINT for forceful process abort
handle_signals ๐Ÿ”’
Auxiliary task to handle SIGHUP, SIGTERM, SIGINT and SIGQUIT signals
main ๐Ÿ”’
parse_configured_networks ๐Ÿ”’
Parse a TOML string for any configured network and return a map containing said configurations.
realmain ๐Ÿ”’
spawn_net ๐Ÿ”’