request

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Index

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

func (*Index) Descriptor() ([]byte, []int)

func (*Index) GetIdentifier

func (m *Index) GetIdentifier() string

func (*Index) GetReindex

func (m *Index) GetReindex() bool

func (*Index) GetType

func (m *Index) GetType() string

func (*Index) ProtoMessage

func (*Index) ProtoMessage()

func (*Index) Reset

func (m *Index) Reset()

func (*Index) String

func (m *Index) String() string

func (*Index) XXX_DiscardUnknown

func (m *Index) XXX_DiscardUnknown()

func (*Index) XXX_Marshal

func (m *Index) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Index) XXX_Merge

func (m *Index) XXX_Merge(src proto.Message)

func (*Index) XXX_Size

func (m *Index) XXX_Size() int

func (*Index) XXX_Unmarshal

func (m *Index) XXX_Unmarshal(b []byte) error

type Options

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

func (*Options) Descriptor() ([]byte, []int)

func (*Options) GetCategories

func (m *Options) GetCategories() []string

func (*Options) ProtoMessage

func (*Options) ProtoMessage()

func (*Options) Reset

func (m *Options) Reset()

func (*Options) String

func (m *Options) String() string

func (*Options) XXX_DiscardUnknown

func (m *Options) XXX_DiscardUnknown()

func (*Options) XXX_Marshal

func (m *Options) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Options) XXX_Merge

func (m *Options) XXX_Merge(src proto.Message)

func (*Options) XXX_Size

func (m *Options) XXX_Size() int

func (*Options) XXX_Unmarshal

func (m *Options) XXX_Unmarshal(b []byte) error
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

func (*Search) Descriptor() ([]byte, []int)

func (*Search) GetKeywords

func (m *Search) GetKeywords() []string

func (*Search) GetOptions

func (m *Search) GetOptions() *Options

func (*Search) ProtoMessage

func (*Search) ProtoMessage()

func (*Search) Reset

func (m *Search) Reset()

func (*Search) String

func (m *Search) String() string

func (*Search) XXX_DiscardUnknown

func (m *Search) XXX_DiscardUnknown()

func (*Search) XXX_Marshal

func (m *Search) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Search) XXX_Merge

func (m *Search) XXX_Merge(src proto.Message)

func (*Search) XXX_Size

func (m *Search) XXX_Size() int

func (*Search) XXX_Unmarshal

func (m *Search) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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