MCPcopy Create free account
hub / github.com/TomCC7/opencode-kanban / ServerRuntime

Interface ServerRuntime

src/opencode/server.rs:112–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112trait ServerRuntime {
113 fn check_health(&self, config: &ServerConfig) -> bool;
114 fn spawn_server(&self, binary: &str, config: &ServerConfig) -> Result<(), String>;
115 fn sleep(&self, duration: Duration);
116}
117
118struct RealServerRuntime;
119

Callers

nothing calls this directly

Implementers 1

server.rssrc/opencode/server.rs

Calls

no outgoing calls

Tested by

no test coverage detected