Documentation ¶
Index ¶
- Variables
- type GetTDArgs
- type ListTDsArgs
- type QueryTDsArgs
- func (*QueryTDsArgs) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTDsArgs) GetLimit() int32
- func (x *QueryTDsArgs) GetOffset() int32
- func (*QueryTDsArgs) ProtoMessage()
- func (x *QueryTDsArgs) ProtoReflect() protoreflect.Message
- func (x *QueryTDsArgs) Reset()
- func (x *QueryTDsArgs) String() string
- type TD
- type TDListResult
Constants ¶
This section is empty.
Variables ¶
View Source
var File_hub_directory_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GetTDArgs ¶
type GetTDArgs struct { // thing ID whose TD to get Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Arguments for GetTD
func (*GetTDArgs) Descriptor
deprecated
func (*GetTDArgs) ProtoMessage ¶
func (*GetTDArgs) ProtoMessage()
func (*GetTDArgs) ProtoReflect ¶
func (x *GetTDArgs) ProtoReflect() protoreflect.Message
type ListTDsArgs ¶
type ListTDsArgs struct { // maximum number of responses Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // offset for batch wise Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
Arguments for List TD
func (*ListTDsArgs) Descriptor
deprecated
func (*ListTDsArgs) Descriptor() ([]byte, []int)
Deprecated: Use ListTDsArgs.ProtoReflect.Descriptor instead.
func (*ListTDsArgs) GetLimit ¶
func (x *ListTDsArgs) GetLimit() int32
func (*ListTDsArgs) GetOffset ¶
func (x *ListTDsArgs) GetOffset() int32
func (*ListTDsArgs) ProtoMessage ¶
func (*ListTDsArgs) ProtoMessage()
func (*ListTDsArgs) ProtoReflect ¶
func (x *ListTDsArgs) ProtoReflect() protoreflect.Message
func (*ListTDsArgs) Reset ¶
func (x *ListTDsArgs) Reset()
func (*ListTDsArgs) String ¶
func (x *ListTDsArgs) String() string
type QueryTDsArgs ¶
type QueryTDsArgs struct { // maximum number of responses Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // offset for batch wise Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
Arguments for Query TD
func (*QueryTDsArgs) Descriptor
deprecated
func (*QueryTDsArgs) Descriptor() ([]byte, []int)
Deprecated: Use QueryTDsArgs.ProtoReflect.Descriptor instead.
func (*QueryTDsArgs) GetLimit ¶
func (x *QueryTDsArgs) GetLimit() int32
func (*QueryTDsArgs) GetOffset ¶
func (x *QueryTDsArgs) GetOffset() int32
func (*QueryTDsArgs) ProtoMessage ¶
func (*QueryTDsArgs) ProtoMessage()
func (*QueryTDsArgs) ProtoReflect ¶
func (x *QueryTDsArgs) ProtoReflect() protoreflect.Message
func (*QueryTDsArgs) Reset ¶
func (x *QueryTDsArgs) Reset()
func (*QueryTDsArgs) String ¶
func (x *QueryTDsArgs) String() string
type TD ¶
type TD struct { // The TD document in JSON format TdJSON string `protobuf:"bytes,1,opt,name=tdJSON,proto3" json:"tdJSON,omitempty"` // contains filtered or unexported fields }
Thing Description document response
func (*TD) Descriptor
deprecated
func (*TD) ProtoMessage ¶
func (*TD) ProtoMessage()
func (*TD) ProtoReflect ¶
func (x *TD) ProtoReflect() protoreflect.Message
type TDListResult ¶
type TDListResult struct { // Array of TD's Tds []*TD `protobuf:"bytes,1,rep,name=tds,proto3" json:"tds,omitempty"` // contains filtered or unexported fields }
Result with an array of TDs
func (*TDListResult) Descriptor
deprecated
func (*TDListResult) Descriptor() ([]byte, []int)
Deprecated: Use TDListResult.ProtoReflect.Descriptor instead.
func (*TDListResult) GetTds ¶
func (x *TDListResult) GetTds() []*TD
func (*TDListResult) ProtoMessage ¶
func (*TDListResult) ProtoMessage()
func (*TDListResult) ProtoReflect ¶
func (x *TDListResult) ProtoReflect() protoreflect.Message
func (*TDListResult) Reset ¶
func (x *TDListResult) Reset()
func (*TDListResult) String ¶
func (x *TDListResult) String() string
Click to show internal directories.
Click to hide internal directories.