mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-14 15:54:42 +08:00
修复RPC同时兼容json与pb的一些bug
This commit is contained in:
@@ -87,6 +87,11 @@ func (slf *JsonProcessor) IsParse(param interface{}) bool {
|
||||
}
|
||||
|
||||
|
||||
func (slf *JsonProcessor) GetProcessorType() RpcProcessorType{
|
||||
return RPC_PROCESSOR_JSON
|
||||
}
|
||||
|
||||
|
||||
func (slf *JsonRpcRequestData) IsNoReply() bool{
|
||||
return slf.NoReply
|
||||
}
|
||||
@@ -132,5 +137,3 @@ func (slf *JsonRpcResponseData) GetReply() []byte{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user