tonic-health

Crates.iotonic-health
lib.rstonic-health
version0.12.3
sourcesrc
created_at2020-04-01 18:46:23.203123
updated_at2024-09-26 17:09:48.176731
descriptionHealth Checking module of `tonic` gRPC implementation.
homepagehttps://github.com/hyperium/tonic
repositoryhttps://github.com/hyperium/tonic
max_upload_size
id225298
size43,238
tonic (github:hyperium:tonic)

documentation

https://docs.rs/tonic-health/0.12.3

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: 1053

cargo fmt