23 releases (12 breaking)
0.13.0 | Mar 25, 2025 |
---|---|
0.12.3 | Sep 26, 2024 |
0.12.2 | Aug 26, 2024 |
0.12.1 | Jul 17, 2024 |
0.2.0 | Jul 23, 2020 |
#356 in Network programming
3,403,622 downloads per month
Used in 62 crates
(38 directly)
520KB
11K
SLoC
A tonic
based gRPC healthcheck implementation.
Example
An example can be found here.
tonic-health
A tonic
based gRPC healthcheck implementation. It closely follows the official health checking protocol, although it may not implement all features described in the specs.
Please follow the example in the main repo to see how it works.
Features
- transport: Provides the ability to set the service by using the type system and the
NamedService
trait. You can use it like that:
let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
let client = HealthClient::new(conn);
Dependencies
~4–10MB
~95K SLoC