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

This commit is contained in:
tison
2022-03-18 14:37:52 -07: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>>>, statuses: Arc<RwLock<HashMap<String, StatusPair>>>,
} }