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

Function MessageMetaByFullName

meta.go:176–182  ·  view source on GitHub ↗

根据名字查找消息元信息

(name string)

Source from the content-addressed store, hash-verified

174
175// 根据名字查找消息元信息
176func MessageMetaByFullName(name string) *MessageMeta {
177 if v, ok := metaByFullName[name]; ok {
178 return v
179 }
180
181 return nil
182}
183
184func MessageMetaVisit(nameRule string, callback func(meta *MessageMeta) bool) error {
185 exp, err := regexp.Compile(nameRule)

Callers 4

ExistsMethod · 0.92
RegisterMessageMethod · 0.92
WaitMessageMethod · 0.92
SetMsgLogRuleFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected