Skip to content

Commit

Permalink
feat(reflection): Expose ReflectionService
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Nov 25, 2024
1 parent 3c0a00d commit 2ccc953
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tonic-reflection/src/server/v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ use crate::pb::v1::{
ServerReflectionResponse, ServiceResponse,
};

/// An implementation for `ServerReflection`.
#[derive(Debug)]
pub(super) struct ReflectionService {
pub struct ReflectionService {
state: Arc<ReflectionServiceState>,
}

Expand Down
3 changes: 2 additions & 1 deletion tonic-reflection/src/server/v1alpha.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ use crate::pb::v1alpha::{
ServerReflectionResponse, ServiceResponse,
};

/// An implementation for `ServerReflection`.
#[derive(Debug)]
pub(super) struct ReflectionService {
pub struct ReflectionService {
state: Arc<ReflectionServiceState>,
}

Expand Down

0 comments on commit 2ccc953

Please sign in to comment.