mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
新增性能分析器
This commit is contained in:
@@ -59,6 +59,7 @@ func (slf *Client) AsycGo(rpcHandler IRpcHandler,serviceMethod string,callback r
|
||||
call.Reply = replyParam
|
||||
call.callback = &callback
|
||||
call.rpcHandler = rpcHandler
|
||||
call.ServiceMethod = serviceMethod
|
||||
|
||||
request := &RpcRequest{}
|
||||
request.NoReply = false
|
||||
@@ -95,7 +96,7 @@ func (slf *Client) Go(noReply bool,serviceMethod string, args interface{},reply
|
||||
call := new(Call)
|
||||
call.done = make(chan *Call,1)
|
||||
call.Reply = reply
|
||||
|
||||
call.ServiceMethod = serviceMethod
|
||||
request := &RpcRequest{}
|
||||
request.NoReply = noReply
|
||||
call.Arg = args
|
||||
|
||||
@@ -15,7 +15,7 @@ var LittleEndian bool
|
||||
|
||||
type Call struct {
|
||||
Seq uint64
|
||||
//ServiceMethod string
|
||||
ServiceMethod string
|
||||
Arg interface{}
|
||||
Reply interface{}
|
||||
Respone *RpcResponse
|
||||
|
||||
Reference in New Issue
Block a user