Skip to main content

lambda_forge/
application.rs

1use crate::EndpointMetadata;
2
3/// All the context needed for a runtime handler to function with.
4pub struct RuntimeContext<T> {
5    pub event: T,
6    pub meta: EndpointMetadata,
7
8    #[cfg(feature = "db")]
9    pub db_pool: sqlx::PgPool,
10}