MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / ping

Function ping

supervisor/src/web_api.rs:71–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69
70#[get("/ping")]
71fn ping() -> Json<Response<&'static str>> {
72 Json(Response::Data("pong"))
73}
74
75#[post("/clear")]
76fn clear(supervisor: &State<Supervisor>) -> Json<Response<()>> {

Callers

nothing calls this directly

Calls 1

DataClass · 0.85

Tested by

no test coverage detected