MCPcopy Create free account
hub / github.com/apache/dubbo-go / WithParameterTypes

Function WithParameterTypes

protocol/invocation/rpcinvocation.go:292–296  ·  view source on GitHub ↗

WithParameterTypes creates option with @parameterTypes.

(parameterTypes []reflect.Type)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by 1