处理rpcx双向通信处理流找不到的情况
This commit is contained in:
parent
800d0203d1
commit
f126833315
@ -54,16 +54,20 @@ func (this *RPCX) GetServiceTags() []string {
|
||||
}
|
||||
func (this *RPCX) RegisterFunction(fn interface{}) (err error) {
|
||||
this.service.RegisterFunction(fn)
|
||||
this.client.RegisterFunction(fn)
|
||||
return
|
||||
}
|
||||
|
||||
func (this *RPCX) RegisterFunctionName(name string, fn interface{}) (err error) {
|
||||
this.service.RegisterFunctionName(name, fn)
|
||||
this.client.RegisterFunctionName(name, fn)
|
||||
return
|
||||
}
|
||||
|
||||
func (this *RPCX) UnregisterAll() (err error) {
|
||||
return this.service.UnregisterAll()
|
||||
err = this.service.UnregisterAll()
|
||||
err = this.client.UnregisterAll()
|
||||
return
|
||||
}
|
||||
|
||||
//同步调用
|
||||
|
Loading…
Reference in New Issue
Block a user