Skip to content
Snippets Groups Projects
Commit 069ab751 authored by Xin.Zh's avatar Xin.Zh Committed by GitHub
Browse files

Merge pull request #612 from cvictory/develop

add setInvoker method for invocation
parents e2033a8a 6f7fbba3
No related branches found
No related tags found
No related merge requests found
......@@ -155,6 +155,11 @@ func (r *RPCInvocation) Invoker() protocol.Invoker {
return r.invoker
}
// nolint
func (r *RPCInvocation) SetInvoker(invoker protocol.Invoker) {
r.invoker = invoker
}
// CallBack sets RPC callback method.
func (r *RPCInvocation) CallBack() interface{} {
return r.callBack
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment