Skip to content
Snippets Groups Projects
Unverified Commit 99a0253f authored by Xin.Zh's avatar Xin.Zh Committed by GitHub
Browse files

Merge pull request #952 from cvictory/feature/proxy_expose_invoker

Add GetInvoker method in Proxy.
parents f7342649 45cfa0a6
No related branches found
No related tags found
No related merge requests found
......@@ -234,3 +234,8 @@ func (p *Proxy) Get() common.RPCService {
func (p *Proxy) GetCallback() interface{} {
return p.callBack
}
// GetInvoker gets Invoker.
func (p *Proxy) GetInvoker() protocol.Invoker {
return p.invoke
}
......@@ -185,6 +185,11 @@ func (c *ReferenceConfig) GetRPCService() common.RPCService {
return c.pxy.Get()
}
// GetProxy gets proxy
func (c *ReferenceConfig) GetProxy() *proxy.Proxy {
return c.pxy
}
func (c *ReferenceConfig) getUrlMap() url.Values {
urlMap := url.Values{}
//first set user params
......
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