28 lines
620 B
Python
28 lines
620 B
Python
"""渠道入站/出站中间件协议、注册表与默认实现。"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from yuxi.channel.middlewares.protocols import (
|
|
InboundContext,
|
|
InboundMiddleware,
|
|
InboundResult,
|
|
OutboundContext,
|
|
OutboundMiddleware,
|
|
OutboundResult,
|
|
)
|
|
from yuxi.channel.middlewares.registry import (
|
|
InboundMiddlewareRegistry,
|
|
OutboundMiddlewareRegistry,
|
|
)
|
|
|
|
__all__ = [
|
|
"InboundContext",
|
|
"InboundMiddleware",
|
|
"InboundResult",
|
|
"InboundMiddlewareRegistry",
|
|
"OutboundContext",
|
|
"OutboundMiddleware",
|
|
"OutboundResult",
|
|
"OutboundMiddlewareRegistry",
|
|
]
|