Struct consul::Health [] [src]

pub struct Health {
    // some fields omitted
}

Health can be used to query the Health endpoints

Methods

impl Health
[src]

fn new(address: &str) -> Health

fn service(&self, name: &str, o_tag: Option<&str>) -> Vec<HealthService>

fn healthy_nodes_by_service(&self, service_id: &str) -> Result<Vec<String>, String>

fn get_healthy_nodes(&self, service_id: &str) -> Result<Vec<String>, String>