tonic-health

Crates.iotonic-health
lib.rstonic-health
version0.14.2
created_at2020-04-01 18:46:23.203123+00
updated_at2025-09-02 17:43:08.939142+00
descriptionHealth Checking module of `tonic` gRPC implementation.
homepagehttps://github.com/hyperium/tonic
repositoryhttps://github.com/hyperium/tonic
max_upload_size
id225298
size59,796
tonic (github:hyperium:tonic)

documentation

README

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);
Commit count: 1315

cargo fmt