Documentation ¶
Index ¶
- Variables
- type ResourceInfo
- func (*ResourceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceInfo) GetDomain() string
- func (x *ResourceInfo) GetInfo() map[string]string
- func (x *ResourceInfo) GetInstanceId() string
- func (x *ResourceInfo) GetPresence() *stravaganza.PBElement
- func (*ResourceInfo) ProtoMessage()
- func (x *ResourceInfo) ProtoReflect() protoreflect.Message
- func (x *ResourceInfo) Reset()
- func (x *ResourceInfo) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_c2s_v1_resourceinfo_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ResourceInfo ¶
type ResourceInfo struct { // instance_id indicates what instance registered this resource. InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // domain is the resource associated domain. Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` // info is the resource additional context info. Info map[string]string `` /* 149-byte string literal not displayed */ // presence is the resource last received presence. Presence *stravaganza.PBElement `protobuf:"bytes,4,opt,name=presence,proto3" json:"presence,omitempty"` // contains filtered or unexported fields }
ResourceInfo represents resource associated info content.
func (*ResourceInfo) Descriptor
deprecated
func (*ResourceInfo) Descriptor() ([]byte, []int)
Deprecated: Use ResourceInfo.ProtoReflect.Descriptor instead.
func (*ResourceInfo) GetDomain ¶
func (x *ResourceInfo) GetDomain() string
func (*ResourceInfo) GetInfo ¶
func (x *ResourceInfo) GetInfo() map[string]string
func (*ResourceInfo) GetInstanceId ¶
func (x *ResourceInfo) GetInstanceId() string
func (*ResourceInfo) GetPresence ¶
func (x *ResourceInfo) GetPresence() *stravaganza.PBElement
func (*ResourceInfo) ProtoMessage ¶
func (*ResourceInfo) ProtoMessage()
func (*ResourceInfo) ProtoReflect ¶
func (x *ResourceInfo) ProtoReflect() protoreflect.Message
func (*ResourceInfo) Reset ¶
func (x *ResourceInfo) Reset()
func (*ResourceInfo) String ¶
func (x *ResourceInfo) String() string
Click to show internal directories.
Click to hide internal directories.