sentinel_core/api/mod.rs
1//! mod `api` provides the topmost fundamental APIs for users using sentinel-core.
2//! Users must initialize Sentinel before loading Sentinel rules. Sentinel support three ways to perform initialization:
3//!
4//! 1. `init_default()`, using default config to initialize.
5//! 2. `init_with_config(config_entity: config::Entity)`, using customized config Entity to initialize.
6//! 3. `init_with_config_file(config_path: String)`, using yaml file to initialize.
7//! For the examples, visit the [Sentinel repository](https://github.com/sentinel-group/sentinel-rust)
8
9pub mod api;
10pub mod init;
11pub mod slot_chain;
12
13pub use api::*;
14pub use init::*;
15pub use slot_chain::*;