mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-18 18:34:45 +08:00
新增TcpGateWay服务,支持通过配置进行路由转发
This commit is contained in:
@@ -134,7 +134,7 @@ func (slf *RpcHandler) suitableMethods(method reflect.Method) error {
|
||||
return fmt.Errorf("%s The return parameter must be of type error!",method.Name)
|
||||
}
|
||||
|
||||
if typ.NumIn() <3 || typ.NumIn() > 4 {
|
||||
if typ.NumIn() <2 || typ.NumIn() > 4 {
|
||||
return fmt.Errorf("%s Unsupported parameter format!",method.Name)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user