mirror of
https://github.com/cloudflare/pingora.git
synced 2024-09-20 02:31:35 +02:00
Make type alias http::Module public
Easier for 3rd party to implement the trait.
This commit is contained in:
parent
f9148430db
commit
1176af300b
2 changed files with 2 additions and 2 deletions
2
.bleep
2
.bleep
|
@ -1 +1 @@
|
|||
27bf4df19b465281ddc2d348ed6f3f0402fa60cc
|
||||
0195d63b6a8053fa3cf702f670b06067ae81bf6a
|
|
@ -65,7 +65,7 @@ pub trait HttpModule {
|
|||
fn as_any_mut(&mut self) -> &mut dyn Any;
|
||||
}
|
||||
|
||||
type Module = Box<dyn HttpModule + 'static + Send + Sync>;
|
||||
pub type Module = Box<dyn HttpModule + 'static + Send + Sync>;
|
||||
|
||||
/// Trait to init the http module ctx for each request
|
||||
pub trait HttpModuleBuilder {
|
||||
|
|
Loading…
Reference in a new issue