owpengram-server/internal/rpc/doc.go

5 lines
418 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Package rpc 是按 semantic method 路由的 RPC 层:封装 tlprofile.Dispatcher,
// 在 handler 边界把 iamxvbaba/td/tg 类型转换为内部 domain command/query,统一 tgerr.Error 到
// rpc_error 的映射,注入 auth_key_id/session_id/user_id/layer/设备/语言 等上下文,
// 并对未知 RPC 进入 compatibility trace(不静默吞掉,记入 docs/compatibility-matrix.md)。
package rpc