()
| 12 | use tonic_reflection::server::{ServerReflection, ServerReflectionServer}; |
| 13 | |
| 14 | fn 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 | |
| 21 | pub async fn start_grpc_server( |
| 22 | context: Arc<AppContext>, |