MCPcopy Create free account
hub / github.com/cosdata/cosdata / reflection_service

Function reflection_service

src/grpc/server.rs:14–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12use tonic_reflection::server::{ServerReflection, ServerReflectionServer};
13
14fn reflection_service() -> ServerReflectionServer<impl ServerReflection> {
15 tonic_reflection::server::Builder::configure()
16 .register_encoded_file_descriptor_set(super::proto::FILE_DESCRIPTOR_SET)
17 .build_v1()
18 .unwrap()
19}
20
21pub async fn start_grpc_server(
22 context: Arc<AppContext>,

Callers 1

start_grpc_serverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected