src/api2/node: start node configuration api

This commit is contained in:
Dietmar Maurer
2019-01-23 13:05:32 +01:00
parent d15009c0ce
commit b2b3485d5f
7 changed files with 106 additions and 6 deletions

View File

@ -6,6 +6,7 @@ use serde_json::{json, Value};
pub mod config;
pub mod admin;
pub mod node;
mod version;
mod subscription;
@ -48,7 +49,7 @@ pub fn router() -> Router {
.subdir("subdir3", route4);
let nodes = Router::new()
.match_all("node", nodeinfo);
.subdir("localhost", node::router());
let route = Router::new()