添加注册rpc消息
This commit is contained in:
parent
58441b6420
commit
b06327602c
@ -143,7 +143,7 @@ func (s *NatsService) Call(rpcTopic string, msg *ipb.InternalMsg, cb func(msg *i
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
s.rpcProcessor.RegisterMessage(msg.RetRpcMsgId, ipb.InternalMsg{}, cb)
|
||||
s.RegisterRpcMessage(msg.RetRpcMsgId, cb)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user