Skip to content

Commit

Permalink
feat(health): Expose HealthService publically (#930)
Browse files Browse the repository at this point in the history
  • Loading branch information
tisonkun committed Mar 18, 2022
1 parent 0859d82 commit 097e7e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tonic-health/src/server.rs
Expand Up @@ -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>>>,
}

Expand Down

0 comments on commit 097e7e8

Please sign in to comment.