SolarEnergy/central_backend/src/server/mod.rs

12 lines
233 B
Rust
Raw Normal View History

2024-06-29 12:43:56 +00:00
use actix_web::web;
2024-06-28 20:00:20 +00:00
2024-06-29 09:45:39 +00:00
use crate::energy::energy_actor::EnergyActorAddr;
2024-06-28 20:00:20 +00:00
2024-06-29 12:43:56 +00:00
pub mod auth_middleware;
2024-06-28 20:28:43 +00:00
pub mod custom_error;
2024-06-29 12:43:56 +00:00
pub mod servers;
pub mod unsecure_server;
pub mod web_api;
2024-06-28 20:00:20 +00:00
2024-06-29 09:45:39 +00:00
pub type WebEnergyActor = web::Data<EnergyActorAddr>;