()
| 175 | } |
| 176 | |
| 177 | func (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 | |
| 182 | func (r *RPCInvocation) SetAttachment(key string, value any) { |
| 183 | r.lock.Lock() |