WithParameterTypes creates option with @parameterTypes.
(parameterTypes []reflect.Type)
| 290 | |
| 291 | // WithParameterTypes creates option with @parameterTypes. |
| 292 | func WithParameterTypes(parameterTypes []reflect.Type) option { |
| 293 | return func(invo *RPCInvocation) { |
| 294 | invo.parameterTypes = parameterTypes |
| 295 | } |
| 296 | } |
| 297 | |
| 298 | // WithParameterTypeNames creates option with @parameterTypeNames. |
| 299 | func WithParameterTypeNames(parameterTypeNames []string) option { |
no outgoing calls