MCPcopy Create free account
hub / github.com/DNAProject/DNA / UnRegisterMsgHandler

Method UnRegisterMsgHandler

p2pserver/message/utils/msg_router.go:85–87  ·  view source on GitHub ↗

UnRegisterMsgHandler un-registers the msg handler with the msg type

(key string)

Source from the content-addressed store, hash-verified

83// UnRegisterMsgHandler un-registers the msg handler with
84// the msg type
85func (this *MessageRouter) UnRegisterMsgHandler(key string) {
86 delete(this.msgHandlers, key)
87}
88
89// SetPID sets p2p actor
90func (this *MessageRouter) SetPID(pid *actor.PID) {

Callers 1

TestMsgRouterFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestMsgRouterFunction · 0.64