fix private type again

This commit is contained in:
Jun Kurihara 2023-11-28 01:17:12 +09:00
commit ab4ac3b00e
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
3 changed files with 4 additions and 3 deletions

View file

@ -8,7 +8,7 @@ use std::{net::SocketAddr, sync::Arc, time::Duration};
/// Global object containing proxy configurations and shared object like counters.
/// But note that in Globals, we do not have Mutex and RwLock. It is indeed, the context shared among async tasks.
pub(crate) struct Globals {
pub struct Globals {
/// Configuration parameters for proxy transport and request handlers
pub proxy_config: ProxyConfig,
/// Shared context - Counter for serving requests

View file

@ -32,7 +32,7 @@ pub(super) struct HandlerContext {
/// HTTP message handler for requests from clients and responses from backend applications,
/// responsible to manipulate and forward messages to upstream backends and downstream clients.
// pub struct HttpMessageHandler<T, U>
pub(crate) struct HttpMessageHandler<U>
pub struct HttpMessageHandler<U>
where
// T: Connect + Clone + Sync + Send + 'static,
U: CryptoSource + Clone,

View file

@ -7,4 +7,5 @@ mod synthetic_response;
mod utils_headers;
mod utils_request;
pub(crate) use handler_main::{HttpMessageHandler, HttpMessageHandlerBuilder, HttpMessageHandlerBuilderError};
pub use handler_main::HttpMessageHandlerBuilderError;
pub(crate) use handler_main::{HttpMessageHandler, HttpMessageHandlerBuilder};