Skip to content

Commit

Permalink
chore(channel): Clean up scope of channel service module
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed May 26, 2024
1 parent d3afd2c commit 11e8409
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions tonic/src/transport/channel/service/mod.rs
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
pub(crate) mod add_origin;
pub(crate) use self::add_origin::AddOrigin;
mod add_origin;
use self::add_origin::AddOrigin;

pub(crate) mod user_agent;
pub(crate) use self::user_agent::UserAgent;
mod user_agent;
use self::user_agent::UserAgent;

pub(crate) mod reconnect;
pub(crate) use self::reconnect::Reconnect;
mod reconnect;
use self::reconnect::Reconnect;

pub(crate) mod connection;
pub(crate) use self::connection::Connection;
mod connection;
pub(super) use self::connection::Connection;

pub(crate) mod discover;
pub(crate) use self::discover::DynamicServiceStream;
mod discover;
pub(super) use self::discover::DynamicServiceStream;

pub(crate) mod io;
pub(crate) use self::io::BoxedIo;
mod io;
use self::io::BoxedIo;

pub(crate) mod connector;
pub(crate) use self::connector::Connector;
mod connector;
pub(super) use self::connector::Connector;

pub(crate) mod executor;
pub(crate) use self::executor::{Executor, SharedExec};
mod executor;
pub(super) use self::executor::{Executor, SharedExec};

#[cfg(feature = "tls")]
pub(crate) mod tls;
mod tls;
#[cfg(feature = "tls")]
pub(crate) use self::tls::TlsConnector;
pub(super) use self::tls::TlsConnector;

0 comments on commit 11e8409

Please sign in to comment.