(ctx context.Context, nodeID, method string, body any)
| 24 | // 生产环境由 *nodehub.Hub 实现。 |
| 25 | type HubCaller interface { |
| 26 | Call(ctx context.Context, nodeID, method string, body any) (json.RawMessage, error) |
| 27 | } |
| 28 | |
| 29 | // HubStream 是 hub 流式调用返回的最小接口。生产实现由 nodehub 注册, |
no outgoing calls