Skip to content

Commit 097e7e8

Browse files
authored
feat(health): Expose HealthService publically (#930)
1 parent 0859d82 commit 097e7e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tonic-health/src/server.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ impl HealthReporter {
103103
}
104104
}
105105

106-
struct HealthService {
106+
/// A service providing implementations of gRPC health checking protocol.
107+
#[derive(Debug)]
108+
pub struct HealthService {
107109
statuses: Arc<RwLock<HashMap<String, StatusPair>>>,
108110
}
109111

0 commit comments

Comments
 (0)