feat(health): Expose HealthService publically (#930)

This commit is contained in:
tison
2022-03-19 05:37:52 +08:00
committed by GitHub
parent 0859d82e57
commit 097e7e85a9
+3 -1
View File
@@ -103,7 +103,9 @@ impl HealthReporter {
}
}
struct HealthService {
/// A service providing implementations of gRPC health checking protocol.
#[derive(Debug)]
pub struct HealthService {
statuses: Arc<RwLock<HashMap<String, StatusPair>>>,
}