Module module_example

Module module_example 

Source
Expand description

ServiceModule Integration Example

This example demonstrates the complete ServiceModule system functionality, showing how modules can organize and register related services with dependency management and proper initialization order.

Structs§

BusinessLogicModule
Business logic module - provides business services
ConfigService
Configuration service for core infrastructure
CoreInfraModule
Core infrastructure module - provides logging, config, etc.
DataAccessModule
Data access module - provides repositories and data services
LoggingService
Logging service for core infrastructure
UserRepository
User repository interface - would typically be a trait in a real application
UserService
User service that depends on UserRepository

Functions§

demonstrate_module_system
Demonstrates the complete ServiceModule integration