foxtive-ntex 0.31.0

Micro-Framework Based on Ntex
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::sync::OnceLock;

pub mod contracts;
pub mod enums;
mod error;
pub mod ext;
pub mod helpers;
pub mod http;
pub mod setup;

pub use setup::state::{AppState, FoxtiveNtexState};
pub use http::shutdown::{ShutdownConfig, ShutdownRegistry};
pub use http::server::ServerBuilder;

pub static FOXTIVE_NTEX: OnceLock<FoxtiveNtexState> = OnceLock::new();

pub use ext::app_state::{fox_state, FoxtiveNtexExt};