根据id查找消息元信息
(id int)
| 230 | |
| 231 | // 根据id查找消息元信息 |
| 232 | func MessageMetaByID(id int) *MessageMeta { |
| 233 | if v, ok := metaByID[id]; ok { |
| 234 | return v |
| 235 | } |
| 236 | |
| 237 | return nil |
| 238 | } |
| 239 | |
| 240 | // 消息名(没有包,纯类型名) |
| 241 | func MessageToName(msg interface{}) string { |
no outgoing calls
no test coverage detected