infrastructure/web/handlers/unit_handlers.rs
- Fichier:
backend/src/infrastructure/web/handlers/unit_handlers.rs- Type:
RUST
- Lignes de Code:
346
- Couche:
Infrastructure (Adaptateurs)
- Tests:
❌ Non
À quoi sert ce fichier ?
Handlers HTTP (Actix-web) pour unit. Gestion des requêtes REST API avec authentification, validation et gestion d’erreurs.
API Publique
Fonctions
create_unit()get_unit()list_units()list_units_by_building()update_unit()delete_unit()assign_owner()
Code Source
Voir: backend/src/infrastructure/web/handlers/unit_handlers.rs
Documentation Connexe
See also
/CLAUDE
/ARCHITECTURE