SolarEnergy/central_backend/src/server/mod.rs

14 lines
282 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;
pub mod devices_api;
2024-06-29 12:43:56 +00:00
pub mod servers;
pub mod unsecure_server;
pub mod web_api;
2024-08-07 14:44:30 +00:00
pub mod web_app_controller;
2024-06-28 20:00:20 +00:00
2024-06-29 09:45:39 +00:00
pub type WebEnergyActor = web::Data<EnergyActorAddr>;