扩统rpc序列化与反序列化支持

This commit is contained in:
duanhf2012
2020-04-21 13:23:18 +08:00
parent a906002f29
commit f74f3a812e
12 changed files with 474 additions and 77 deletions

View File

@@ -109,7 +109,7 @@ func (slf *Service) Run() {
bStop = true
case rpcRequest :=<- rpcRequestChan:
if slf.profiler!=nil {
analyzer = slf.profiler.Push("Req_"+rpcRequest.ServiceMethod)
analyzer = slf.profiler.Push("Req_"+rpcRequest.RpcRequestData.GetServiceMethod())
}
slf.GetRpcHandler().HandlerRpcRequest(rpcRequest)