1#![doc = include_str!("../README.md")]
2#![doc(html_favicon_url = "https://zino.cc/assets/zino-logo.png")]
3#![doc(html_logo_url = "https://zino.cc/assets/zino-logo.svg")]
4
5mod application;
6mod middleware;
7mod request;
8mod response;
9
10pub use application::Cluster;
11pub use request::Extractor;
12pub use response::{ActixRejection, ActixResponse};
13
14pub type RouterConfigure = fn(cfg: &mut actix_web::web::ServiceConfig);
16
17pub type Request = request::Extractor<actix_web::HttpRequest>;
19
20pub type Response = zino_http::response::Response<actix_web::http::StatusCode>;
22
23pub type Result<T = response::ActixResponse> = std::result::Result<T, response::ActixRejection>;