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

Method SetCallBack

protocol/invocation/rpcinvocation.go:173–175  ·  view source on GitHub ↗

SetCallBack sets RPC callback method.

(c any)

Source from the content-addressed store, hash-verified

171
172// SetCallBack sets RPC callback method.
173func (r *RPCInvocation) SetCallBack(c any) {
174 r.callBack = c
175}
176
177func (r *RPCInvocation) ServiceKey() string {
178 return common.ServiceKey(strings.TrimPrefix(r.GetAttachmentWithDefaultValue(constant.PathKey, r.GetAttachmentWithDefaultValue(constant.InterfaceKey, "")), "/"),

Callers 1

Calls

no outgoing calls

Tested by 1