Documentation
¶
Index ¶
- type Index
- func (*Index) Descriptor() ([]byte, []int)
- func (m *Index) GetData() []byte
- func (m *Index) GetId() string
- func (m *Index) GetKeywords() []string
- func (*Index) ProtoMessage()
- func (m *Index) Reset()
- func (m *Index) String() string
- func (m *Index) XXX_DiscardUnknown()
- func (m *Index) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Index) XXX_Merge(src proto.Message)
- func (m *Index) XXX_Size() int
- func (m *Index) XXX_Unmarshal(b []byte) error
- type Object
- func (*Object) Descriptor() ([]byte, []int)
- func (m *Object) GetCategory() string
- func (m *Object) GetMimeType() string
- func (m *Object) GetName() string
- func (m *Object) GetType() string
- func (*Object) ProtoMessage()
- func (m *Object) Reset()
- func (m *Object) String() string
- func (m *Object) XXX_DiscardUnknown()
- func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Object) XXX_Merge(src proto.Message)
- func (m *Object) XXX_Size() int
- func (m *Object) XXX_Unmarshal(b []byte) error
- type Results
- func (*Results) Descriptor() ([]byte, []int)
- func (m *Results) GetObjects() []*Object
- func (*Results) ProtoMessage()
- func (m *Results) Reset()
- func (m *Results) String() string
- func (m *Results) XXX_DiscardUnknown()
- func (m *Results) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Results) XXX_Merge(src proto.Message)
- func (m *Results) XXX_Size() int
- func (m *Results) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶ added in v1.0.6
type Index struct { // id is the identifier of the indexed object according to the lens system Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // data is miscellaneous data associated with the response Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // keywords are the keywords that you can use to search for this object within lens Keywords []string `protobuf:"bytes,2,rep,name=keywords,proto3" json:"keywords,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Index) Descriptor ¶ added in v1.0.6
func (*Index) GetKeywords ¶ added in v1.0.6
func (*Index) ProtoMessage ¶ added in v1.0.6
func (*Index) ProtoMessage()
func (*Index) XXX_DiscardUnknown ¶ added in v1.0.6
func (m *Index) XXX_DiscardUnknown()
func (*Index) XXX_Marshal ¶ added in v1.0.6
func (*Index) XXX_Unmarshal ¶ added in v1.0.6
type Object ¶ added in v1.0.6
type Object struct { // name is the "name" of the object, such as an IPFS content hash Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` MimeType string `protobuf:"bytes,2,opt,name=mimeType,proto3" json:"mimeType,omitempty"` Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"` // type is the type of the object, such as IPLD Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Object) Descriptor ¶ added in v1.0.6
func (*Object) GetCategory ¶ added in v1.0.6
func (*Object) GetMimeType ¶ added in v1.0.6
func (*Object) ProtoMessage ¶ added in v1.0.6
func (*Object) ProtoMessage()
func (*Object) XXX_DiscardUnknown ¶ added in v1.0.6
func (m *Object) XXX_DiscardUnknown()
func (*Object) XXX_Marshal ¶ added in v1.0.6
func (*Object) XXX_Unmarshal ¶ added in v1.0.6
type Results ¶ added in v1.0.6
type Results struct { Objects []*Object `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Results) Descriptor ¶ added in v1.0.6
func (*Results) GetObjects ¶ added in v1.0.6
func (*Results) ProtoMessage ¶ added in v1.0.6
func (*Results) ProtoMessage()
func (*Results) XXX_DiscardUnknown ¶ added in v1.0.6
func (m *Results) XXX_DiscardUnknown()
func (*Results) XXX_Marshal ¶ added in v1.0.6
func (*Results) XXX_Unmarshal ¶ added in v1.0.6
Click to show internal directories.
Click to hide internal directories.