Name Date Size #Lines LOC

..12-Mar-2025-

proto/H12-Mar-2025-6455

src/H12-Mar-2025-1,4291,250

Cargo.tomlH A D12-Mar-20251.1 KiB4638

LICENSEH A D12-Mar-20251 KiB2016

README.mdH A D12-Mar-2025664 1510

README.md

1# tonic-health
2
3A `tonic` based gRPC healthcheck implementation. It closely follows the official [health checking protocol](https://github.com/grpc/grpc/blob/master/doc/health-checking.md), although it may not implement all features described in the specs.
4
5Please follow the example in the [main repo](https://github.com/hyperium/tonic/tree/master/examples/src/health) to see how it works.
6
7## Features
8
9- transport: Provides the ability to set the service by using the type system and the
10`NamedService` trait. You can use it like that:
11```rust
12    let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
13    let client = HealthClient::new(conn);
14```
15