directory

package
v0.0.0-...-4a16f26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use GetTDArgs.ProtoReflect.Descriptor instead.

func (*GetTDArgs) GetId

func (x *GetTDArgs) GetId() string

func (*GetTDArgs) ProtoMessage

func (*GetTDArgs) ProtoMessage()

func (*GetTDArgs) ProtoReflect

func (x *GetTDArgs) ProtoReflect() protoreflect.Message

func (*GetTDArgs) Reset

func (x *GetTDArgs) Reset()

func (*GetTDArgs) String

func (x *GetTDArgs) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use TD.ProtoReflect.Descriptor instead.

func (*TD) GetTdJSON

func (x *TD) GetTdJSON() string

func (*TD) ProtoMessage

func (*TD) ProtoMessage()

func (*TD) ProtoReflect

func (x *TD) ProtoReflect() protoreflect.Message

func (*TD) Reset

func (x *TD) Reset()

func (*TD) String

func (x *TD) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL