IndexHandler
// RESTful index of available api endpoints
// GET /v1/
pub struct IndexHandler {
pub list: Vec<String>,
}
StatusHandler
/// Status handler. Post a summary of the server status
/// GET /v1/status
pub struct StatusHandler {
pub chain: Weak<chain::Chain>,
pub peers: Weak<p2p::Peers>,
}