Skip to main content

status_report

Function status_report 

Source
pub fn status_report(
    api: &str,
    health: Health,
    view: &Value,
    style: Style,
) -> String
Expand description

The whole report, as choir node status prints it.

Takes the two responses rather than fetching them, so the rendering is a pure function of what the node said and can be tested without a node.