haproxy_api/
lib.rs

1//! # HAProxy 2.x Lua API
2//!
3//! Intended to be used together with [mlua] in a module mode.
4//!
5//! Please see the [Lua API] documentation for details.
6//!
7//! [Lua API]: http://www.arpalert.org/src/haproxy-lua-api/2.2/index.html
8//! [mlua]: https://crates.io/crates/mlua
9
10#[cfg(feature = "async")]
11mod r#async;
12mod channel;
13mod converters;
14mod core;
15mod event_sub;
16mod fetches;
17mod filter;
18mod http;
19mod http_message;
20mod listener;
21mod proxy;
22mod server;
23mod stick_table;
24mod txn;
25
26pub use crate::channel::Channel;
27pub use crate::converters::Converters;
28pub use crate::core::{Action, Core, LogLevel, ServiceMode, Time};
29pub use crate::event_sub::EventSub;
30pub use crate::fetches::Fetches;
31pub use crate::filter::{FilterMethod, FilterResult, UserFilter};
32pub use crate::http::{Headers, Http};
33pub use crate::http_message::HttpMessage;
34pub use crate::proxy::Proxy;
35pub use crate::server::Server;
36pub use crate::stick_table::StickTable;
37pub use crate::txn::Txn;
38
39#[cfg(feature = "async")]
40pub use crate::r#async::{create_async_function, runtime};