fix private type again
This commit is contained in:
parent
f9453fe956
commit
ab4ac3b00e
3 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue