mirror of
https://github.com/katanemo/plano.git
synced 2026-05-27 14:17:15 +02:00
* split wasm filter * fix int and unit tests * rename public_types => common and move common code there * rename * fix int test
13 lines
312 B
Rust
13 lines
312 B
Rust
use filter_context::FilterContext;
|
|
use proxy_wasm::traits::*;
|
|
use proxy_wasm::types::*;
|
|
|
|
mod filter_context;
|
|
mod stream_context;
|
|
|
|
proxy_wasm::main! {{
|
|
proxy_wasm::set_log_level(LogLevel::Trace);
|
|
proxy_wasm::set_root_context(|_| -> Box<dyn RootContext> {
|
|
Box::new(FilterContext::new())
|
|
});
|
|
}}
|