Actualiza la organización del código para las apps

This commit is contained in:
Manuel Cillero 2022-05-15 20:21:14 +02:00
parent 96cbbb0c3c
commit 9485179257
21 changed files with 13 additions and 16 deletions

17
pagetop/src/app.rs Normal file
View file

@ -0,0 +1,17 @@
pub use actix_web::{
App, HttpRequest, HttpResponse, HttpServer, Responder, Result, http, web
};
mod banner;
mod tracing;
pub mod locale;
#[cfg(any(feature = "mysql", feature = "postgres", feature = "sqlite"))]
pub mod db;
mod definition;
pub use definition::AppTrait;
pub mod application;