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

Method health

libatomic/src/daemon/services.rs:128–140  ·  view source on GitHub ↗
(
        &self,
        _request: Request<HealthRequest>,
    )

Source from the content-addressed store, hash-verified

126#[tonic::async_trait]
127impl daemon_service_server::DaemonService for DaemonImpl {
128 async fn health(
129 &self,
130 _request: Request<HealthRequest>,
131 ) -> Result<Response<HealthResponse>, Status> {
132 Ok(Response::new(HealthResponse {
133 status: ServingStatus::Serving as i32,
134 pid: std::process::id(),
135 features: vec![
136 "full-turn-slice".to_string(),
137 "repository-registry".to_string(),
138 ],
139 }))
140 }
141
142 async fn get_capabilities(
143 &self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected