MCPcopy Create free account
hub / github.com/drogus/crows / create_coordinator

Function create_coordinator

cli/src/main.rs:53–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51}
52
53async fn create_coordinator() -> anyhow::Result<CoordinatorClient> {
54 let url = std::env::var("CROWS_COORDINATOR_URL").unwrap_or("127.0.0.1:8282".to_string());
55 let service = ClientService {};
56 Ok(connect_to_coordinator(url, service).await?)
57}
58
59#[tokio::main]
60pub async fn main() -> anyhow::Result<()> {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected