MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / global_health

Function global_health

crates/opencode-server/src/routes.rs:3967–3972  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3965}
3966
3967async fn global_health() -> Json<GlobalHealthResponse> {
3968 Json(GlobalHealthResponse {
3969 healthy: true,
3970 version: env!("CARGO_PKG_VERSION").to_string(),
3971 })
3972}
3973
3974async fn global_event_stream(
3975 State(state): State<Arc<ServerState>>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected