Struct consul::Health
[−]
[src]
pub struct Health { /* 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>
) -> ConsulResult<Vec<HealthService>>
&self,
name: &str,
o_tag: Option<&str>
) -> ConsulResult<Vec<HealthService>>
fn healthy_nodes_by_service(
&self,
service_id: &str
) -> ConsulResult<Vec<String>>
&self,
service_id: &str
) -> ConsulResult<Vec<String>>