MCPcopy
hub / github.com/davyxu/cellnet / MessageMetaByID

Function MessageMetaByID

meta.go:232–238  ·  view source on GitHub ↗

根据id查找消息元信息

(id int)

Source from the content-addressed store, hash-verified

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

Callers 2

DecodeMessageFunction · 0.92
MessageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected