(rpcInfo iresolver.RPCInfo)
| 150 | } |
| 151 | |
| 152 | func (dcs *defaultConfigSelector) SelectConfig(rpcInfo iresolver.RPCInfo) (*iresolver.RPCConfig, error) { |
| 153 | return &iresolver.RPCConfig{ |
| 154 | Context: rpcInfo.Context, |
| 155 | MethodConfig: getMethodConfig(dcs.sc, rpcInfo.Method), |
| 156 | }, nil |
| 157 | } |
| 158 | |
| 159 | // NewClient creates a new gRPC "channel" for the target URI provided. No I/O |
| 160 | // is performed. Use of the ClientConn for RPCs will automatically cause it to |
nothing calls this directly
no test coverage detected