rpc: JSON-RPC-over-HTTP control interface — native httpd + json + dispatch, core provider
This commit is contained in:
parent
9dce3bde92
commit
4b1f096ed8
7 changed files with 617 additions and 0 deletions
|
|
@ -101,6 +101,9 @@ fn main() {
|
|||
}
|
||||
}
|
||||
|
||||
// optional JSON-RPC-over-HTTP control interface (see crate::modules::rpc)
|
||||
echoircd::modules::rpc::maybe_start(&cfg, tx.clone());
|
||||
|
||||
// dial any autoconnect uplinks (after a short delay so the peer can boot)
|
||||
for block in cfg.links.iter().filter(|b| b.autoconnect) {
|
||||
let addr = format!("{}:{}", block.ip, block.port);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue