reflection: export server types (#1043)

Makes it easier to store a reflection server in a variable
or get the gRPC service's name.
This commit is contained in:
Ross Light
2022-07-29 12:12:01 -04:00
committed by GitHub
parent 9ea03c2c44
commit e40ae113ad
+1 -1
View File
@@ -1,6 +1,6 @@
use crate::proto::server_reflection_request::MessageRequest;
use crate::proto::server_reflection_response::MessageResponse;
use crate::proto::server_reflection_server::{ServerReflection, ServerReflectionServer};
pub use crate::proto::server_reflection_server::{ServerReflection, ServerReflectionServer};
use crate::proto::{
FileDescriptorResponse, ListServiceResponse, ServerReflectionRequest, ServerReflectionResponse,
ServiceResponse,