Documentation ¶
Index ¶
- type Index
- func (*Index) Descriptor() ([]byte, []int)
- func (m *Index) GetIdentifier() string
- func (m *Index) GetReindex() bool
- func (m *Index) GetType() 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 Options
- func (*Options) Descriptor() ([]byte, []int)
- func (m *Options) GetCategories() []string
- func (*Options) ProtoMessage()
- func (m *Options) Reset()
- func (m *Options) String() string
- func (m *Options) XXX_DiscardUnknown()
- func (m *Options) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Options) XXX_Merge(src proto.Message)
- func (m *Options) XXX_Size() int
- func (m *Options) XXX_Unmarshal(b []byte) error
- type Search
- func (*Search) Descriptor() ([]byte, []int)
- func (m *Search) GetKeywords() []string
- func (m *Search) GetOptions() *Options
- func (*Search) ProtoMessage()
- func (m *Search) Reset()
- func (m *Search) String() string
- func (m *Search) XXX_DiscardUnknown()
- func (m *Search) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Search) XXX_Merge(src proto.Message)
- func (m *Search) XXX_Size() int
- func (m *Search) 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 { // type is the "type" of data, such as IPLD Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // identifier is the identifier of the object, such as an IPFS content hash Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"` // reindex indicates whether the object should be indexed again Reindex bool `protobuf:"varint,3,opt,name=reindex,proto3" json:"reindex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Index) Descriptor ¶ added in v1.0.6
func (*Index) GetIdentifier ¶ added in v1.1.0
func (*Index) GetReindex ¶ added in v1.1.0
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 Options ¶ added in v1.0.6
type Options struct { Categories []string `protobuf:"bytes,2,rep,name=categories,proto3" json:"categories,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Options) Descriptor ¶ added in v1.0.6
func (*Options) GetCategories ¶ added in v1.0.6
func (*Options) ProtoMessage ¶ added in v1.0.6
func (*Options) ProtoMessage()
func (*Options) XXX_DiscardUnknown ¶ added in v1.0.6
func (m *Options) XXX_DiscardUnknown()
func (*Options) XXX_Marshal ¶ added in v1.0.6
func (*Options) XXX_Unmarshal ¶ added in v1.0.6
type Search ¶ added in v1.0.6
type Search struct { // keywords to search by Keywords []string `protobuf:"bytes,1,rep,name=keywords,proto3" json:"keywords,omitempty"` // options are used to configure the query Options *Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Search) Descriptor ¶ added in v1.0.6
func (*Search) GetKeywords ¶ added in v1.0.6
func (*Search) GetOptions ¶ added in v1.0.6
func (*Search) ProtoMessage ¶ added in v1.0.6
func (*Search) ProtoMessage()
func (*Search) XXX_DiscardUnknown ¶ added in v1.0.6
func (m *Search) XXX_DiscardUnknown()
func (*Search) XXX_Marshal ¶ added in v1.0.6
func (*Search) XXX_Unmarshal ¶ added in v1.0.6
Click to show internal directories.
Click to hide internal directories.