Home
last modified time | relevance | path

Searched refs:HealthReporter (Results 1 – 2 of 2) sorted by relevance

/tonic/tonic-health/src/
H A Dserver.rs21 pub fn health_reporter() -> (HealthReporter, HealthServer<impl Health>) { in health_reporter()
22 let reporter = HealthReporter::new(); in health_reporter()
35 pub struct HealthReporter { struct
39 impl HealthReporter { impl
46 HealthReporter { statuses } in new()
189 use crate::server::{HealthReporter, HealthService};
205 async fn make_test_service() -> (HealthReporter, HealthService) { in make_test_service()
206 let health_reporter = HealthReporter::new(); in make_test_service()
/tonic/examples/src/health/
H A Dserver.rs6 use tonic_health::server::HealthReporter;
32 async fn twiddle_service_status(mut reporter: HealthReporter) { in twiddle_service_status() argument