Expand description
统一 RPC 端点(/rpc) + 内部 dispatch(供 FFI 直接调用不走网络)。
Structs§
Functions§
- dispatch_
internal - 内部 dispatch:直接调 router.oneshot(不走网络)。 供 /rpc endpoint 和 FFI rpc_call 共用。
- router_
ready - 进程内就绪检查:ROUTER 已注册即表示 FFI dispatch 可用(与 HTTP listener 无关)。 FFI start_core 用它判断就绪,取代依赖 HTTP health 的脆弱探测。
- rpc_
endpoint - POST /rpc — 统一 RPC 入口(内部 dispatch,不走网络回环)。
- set_
global_ router - 在 core 启动时调用(build_router 后),注册全局 router 供内部 dispatch 用。