Expand description
Re-exports§
pub use channel::older_context;pub use channel::write as channel_write;pub use query::read_relay;pub use query::render_ready::candidates as render_ready_candidates;pub use query::render_ready::core as render_ready;pub use query::render_ready::locate as render_ready_locate;pub use query::render_ready::members as render_ready_members;pub use query::render_ready::replies as render_ready_replies;pub use send::pending as pending_send;pub use send::pong_compensate;pub use send::reconcile as send_reconcile;pub use sync::increment as sync_increment;pub use sync::scheduler as sync_scheduler;pub use sync::session as sync_session;pub use error::ImError;pub use module::ImModule;pub use module::ClientPlatform;pub use module::ImConfig;pub use schema::IM_SCHEMA;pub use schema::IM_SCHEMA_MIGRATIONS;pub use schema::IM_SPARSE_TABLE_SPECS;
Modules§
- acl
- ACL-1:IM 业务域 ⇆ helix-core 平台域
- channel
- Channel aggregate root and channel write model.
- client_
api - 三端共享的 IM 业务调用门面。
- commands
- Outbound 应用命令入口(P2 起 =
outbound::registry的薄 re-export shim)。 - draft
- MessageV3 Gate
MV3-G02e:草稿域(im_save_draft/im_query_draft)。 - error
- IM 业务域错误
- event
- MessageV3 领域事件唯一构造入口。
- http_
envelope - ADR-007 HTTP 信封解层(从
module.rs外提,守 module.rs ≤ baseline · 多路径共享)。 - mobile_
contract - 旧移动端模块名的兼容入口。
- module
- ImModule:实现 helix-core Module trait 的 IM 业务模块
- outbound
- 出站命令编排(HTTP outbound build)。
- parser
- query
- schema
- IM 业务 schema —— DDL 当数据,host-cli
execute_raw逐条幂等执行。 - send
- state
- ImState — ImModule 的全量纯数据状态;不持 I/O 句柄。
- sync
- Incremental sync cursor engine and sync session state.
- sync_
observation - 同步时序的只读旁路:单轮和单页 O(1) 状态,指标出口由宿主提供。
- timeline_
navigation - Timeline V3 newer/locate 的 sans-IO command 与 correlation 状态。
- timeline_
state - MessageV3 时间线窗口的纯业务状态。
- todo
Macros§
- offline_
sync_ error - 仅在显式打开离线 sync 诊断时输出结构化 error 日志。
- offline_
sync_ info - 仅在显式打开离线 sync 诊断时输出结构化 info 日志。
- offline_
sync_ warn - 仅在显式打开离线 sync 诊断时输出结构化 warn 日志。
Structs§
- Sparse
Table Spec - 稀疏、非 SQL 存储适配器使用的表身份描述。
Constants§
- EVENT_
HTTP_ UNAUTHORIZED - HTTP 鉴权失效事件。
- EVENT_
NET_ OFFLINE - 网络不可用事件。
Functions§
- http_
outcome_ event - 把平台无关的 HTTP 结果映射为 IM 业务事件。