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

Method ServiceKey

protocol/invocation/rpcinvocation.go:177–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175}
176
177func (r *RPCInvocation) ServiceKey() string {
178 return common.ServiceKey(strings.TrimPrefix(r.GetAttachmentWithDefaultValue(constant.PathKey, r.GetAttachmentWithDefaultValue(constant.InterfaceKey, "")), "/"),
179 r.GetAttachmentWithDefaultValue(constant.GroupKey, ""), r.GetAttachmentWithDefaultValue(constant.VersionKey, ""))
180}
181
182func (r *RPCInvocation) SetAttachment(key string, value any) {
183 r.lock.Lock()

Callers 15

startHealthWatchMethod · 0.45
handleHealthStatusMethod · 0.45
ExportMethod · 0.45
openServerMethod · 0.45
UnExportMethod · 0.45
ExportMethod · 0.45
openServerMethod · 0.45
UnExportMethod · 0.45
startHealthWatchMethod · 0.45
handleHealthStatusMethod · 0.45
UnExportMethod · 0.45
ExportMethod · 0.45

Calls 2

ServiceKeyFunction · 0.92