37 lines
1.1 KiB
Python
37 lines
1.1 KiB
Python
|
|
"""组合根顶层目录。
|
|||
|
|
|
|||
|
|
本包是渠道网关的组合根(composition root),承载启动编排、关停编排、
|
|||
|
|
DI 容器、工厂与请求级用例装配,对齐 external_systems 项目惯例。
|
|||
|
|
|
|||
|
|
对外导出宿主启动/关停编排器、依赖注入容器、工厂函数与渠道用例聚合,
|
|||
|
|
供应用启动(lifespan)与路由层装配请求级用例使用。
|
|||
|
|
"""
|
|||
|
|
|
|||
|
|
from __future__ import annotations
|
|||
|
|
|
|||
|
|
from yuxi.channels.infrastructure.channel_use_cases import (
|
|||
|
|
ChannelUseCases,
|
|||
|
|
create_channel_use_cases,
|
|||
|
|
)
|
|||
|
|
from yuxi.channels.infrastructure.dependency_injection import (
|
|||
|
|
DependencyInjectionContainer,
|
|||
|
|
)
|
|||
|
|
from yuxi.channels.infrastructure.factory import (
|
|||
|
|
create_host_bootstrap,
|
|||
|
|
create_host_shutdown,
|
|||
|
|
load_channel_plugins,
|
|||
|
|
)
|
|||
|
|
from yuxi.channels.infrastructure.host_bootstrap import HostBootstrap
|
|||
|
|
from yuxi.channels.infrastructure.host_shutdown import HostShutdown
|
|||
|
|
|
|||
|
|
__all__ = [
|
|||
|
|
"ChannelUseCases",
|
|||
|
|
"DependencyInjectionContainer",
|
|||
|
|
"HostBootstrap",
|
|||
|
|
"HostShutdown",
|
|||
|
|
"create_channel_use_cases",
|
|||
|
|
"create_host_bootstrap",
|
|||
|
|
"create_host_shutdown",
|
|||
|
|
"load_channel_plugins",
|
|||
|
|
]
|