aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYuchen Wu <[email protected]>2024-06-20 15:07:52 -0700
committerEdward Wang <[email protected]>2024-06-28 12:34:25 -0700
commit1176af300b870439d37b3493c6876977a8a428d1 (patch)
tree02856821ac75856558985ac95f4da29116617b0a
parentf9148430dbbbcf9d3658ba94eb434ae0e77f0be4 (diff)
downloadpingora-1176af300b870439d37b3493c6876977a8a428d1.tar.gz
pingora-1176af300b870439d37b3493c6876977a8a428d1.zip
Make type alias http::Module public
Easier for 3rd party to implement the trait.
-rw-r--r--.bleep2
-rw-r--r--pingora-core/src/modules/http/mod.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/.bleep b/.bleep
index 123ae30..bc889d8 100644
--- a/.bleep
+++ b/.bleep
@@ -1 +1 @@
-27bf4df19b465281ddc2d348ed6f3f0402fa60cc \ No newline at end of file
+0195d63b6a8053fa3cf702f670b06067ae81bf6a \ No newline at end of file
diff --git a/pingora-core/src/modules/http/mod.rs b/pingora-core/src/modules/http/mod.rs
index 31c5f9a..02a3e0c 100644
--- a/pingora-core/src/modules/http/mod.rs
+++ b/pingora-core/src/modules/http/mod.rs
@@ -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 {