MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / health

Method health

atomic-client/src/lib.rs:153–159  ·  view source on GitHub ↗

Liveness probe (the negotiation pair's first half).

(&self)

Source from the content-addressed store, hash-verified

151
152 /// Liveness probe (the negotiation pair's first half).
153 pub async fn health(&self) -> Result<HealthResponse, tonic::Status> {
154 let mut client = DaemonServiceClient::new(self.channel.clone());
155 client
156 .health(HealthRequest {})
157 .await
158 .map(|response| response.into_inner())
159 }
160}
161
162/// Re-export for callers that drive the generated service clients directly.

Callers 1

connect_existingMethod · 0.45

Calls 2

cloneMethod · 0.45
into_innerMethod · 0.45

Tested by

no test coverage detected