| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | 12-Mar-2025 | - | ||||
| proto/ | H | 12-Mar-2025 | - | 64 | 55 | |
| src/ | H | 12-Mar-2025 | - | 1,429 | 1,250 | |
| Cargo.toml | H A D | 12-Mar-2025 | 1.1 KiB | 46 | 38 | |
| LICENSE | H A D | 12-Mar-2025 | 1 KiB | 20 | 16 | |
| README.md | H A D | 12-Mar-2025 | 664 | 15 | 10 |
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