Skip to content

Commit

Permalink
chore(server): Move recover_error service to service module (#1744)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored Jun 21, 2024
1 parent 87ad355 commit cf46316
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions tonic/src/transport/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

mod conn;
mod incoming;
mod recover_error;
mod service;
#[cfg(feature = "tls")]
mod tls;
Expand Down Expand Up @@ -40,7 +39,7 @@ pub(crate) use tokio_rustls::server::TlsStream;
#[cfg(feature = "tls")]
use crate::transport::Error;

use self::{recover_error::RecoverError, service::ServerIo};
use self::service::{RecoverError, ServerIo};
use super::service::GrpcTimeout;
use crate::body::{boxed, BoxBody};
use crate::server::NamedService;
Expand Down
3 changes: 3 additions & 0 deletions tonic/src/transport/server/service/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
mod io;
pub(crate) use self::io::ServerIo;

mod recover_error;
pub(crate) use self::recover_error::RecoverError;

#[cfg(feature = "tls")]
mod tls;
#[cfg(feature = "tls")]
Expand Down
File renamed without changes.

0 comments on commit cf46316

Please sign in to comment.