Documentation ¶
Index ¶
- type SearchRequest
- func (*SearchRequest) Descriptor() ([]byte, []int)
- func (m *SearchRequest) GetPageNumber() int32
- func (m *SearchRequest) GetQuery() string
- func (m *SearchRequest) GetResultPerPage() int32
- func (*SearchRequest) ProtoMessage()
- func (m *SearchRequest) Reset()
- func (m *SearchRequest) String() string
- func (m *SearchRequest) XXX_DiscardUnknown()
- func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchRequest) XXX_Merge(src proto.Message)
- func (m *SearchRequest) XXX_Size() int
- func (m *SearchRequest) XXX_Unmarshal(b []byte) error
- type SearchResponse
- func (*SearchResponse) Descriptor() ([]byte, []int)
- func (m *SearchResponse) GetModified() *timestamp.Timestamp
- func (m *SearchResponse) GetResults() []*SearchResult
- func (*SearchResponse) ProtoMessage()
- func (m *SearchResponse) Reset()
- func (m *SearchResponse) String() string
- func (m *SearchResponse) XXX_DiscardUnknown()
- func (m *SearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchResponse) XXX_Merge(src proto.Message)
- func (m *SearchResponse) XXX_Size() int
- func (m *SearchResponse) XXX_Unmarshal(b []byte) error
- type SearchResult
- func (*SearchResult) Descriptor() ([]byte, []int)
- func (m *SearchResult) GetDescription() string
- func (m *SearchResult) GetId() int64
- func (m *SearchResult) GetUrl() string
- func (*SearchResult) ProtoMessage()
- func (m *SearchResult) Reset()
- func (m *SearchResult) String() string
- func (m *SearchResult) XXX_DiscardUnknown()
- func (m *SearchResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchResult) XXX_Merge(src proto.Message)
- func (m *SearchResult) XXX_Size() int
- func (m *SearchResult) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SearchRequest ¶
type SearchRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` PageNumber int32 `protobuf:"varint,2,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` ResultPerPage int32 `protobuf:"varint,3,opt,name=result_per_page,json=resultPerPage,proto3" json:"result_per_page,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchRequest) Descriptor ¶
func (*SearchRequest) Descriptor() ([]byte, []int)
func (*SearchRequest) GetPageNumber ¶
func (m *SearchRequest) GetPageNumber() int32
func (*SearchRequest) GetQuery ¶
func (m *SearchRequest) GetQuery() string
func (*SearchRequest) GetResultPerPage ¶
func (m *SearchRequest) GetResultPerPage() int32
func (*SearchRequest) ProtoMessage ¶
func (*SearchRequest) ProtoMessage()
func (*SearchRequest) Reset ¶
func (m *SearchRequest) Reset()
func (*SearchRequest) String ¶
func (m *SearchRequest) String() string
func (*SearchRequest) XXX_DiscardUnknown ¶
func (m *SearchRequest) XXX_DiscardUnknown()
func (*SearchRequest) XXX_Marshal ¶
func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchRequest) XXX_Merge ¶
func (m *SearchRequest) XXX_Merge(src proto.Message)
func (*SearchRequest) XXX_Size ¶
func (m *SearchRequest) XXX_Size() int
func (*SearchRequest) XXX_Unmarshal ¶
func (m *SearchRequest) XXX_Unmarshal(b []byte) error
type SearchResponse ¶
type SearchResponse struct { Results []*SearchResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` Modified *timestamp.Timestamp `protobuf:"bytes,2,opt,name=modified,proto3" json:"modified,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchResponse) Descriptor ¶
func (*SearchResponse) Descriptor() ([]byte, []int)
func (*SearchResponse) GetModified ¶
func (m *SearchResponse) GetModified() *timestamp.Timestamp
func (*SearchResponse) GetResults ¶
func (m *SearchResponse) GetResults() []*SearchResult
func (*SearchResponse) ProtoMessage ¶
func (*SearchResponse) ProtoMessage()
func (*SearchResponse) Reset ¶
func (m *SearchResponse) Reset()
func (*SearchResponse) String ¶
func (m *SearchResponse) String() string
func (*SearchResponse) XXX_DiscardUnknown ¶
func (m *SearchResponse) XXX_DiscardUnknown()
func (*SearchResponse) XXX_Marshal ¶
func (m *SearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchResponse) XXX_Merge ¶
func (m *SearchResponse) XXX_Merge(src proto.Message)
func (*SearchResponse) XXX_Size ¶
func (m *SearchResponse) XXX_Size() int
func (*SearchResponse) XXX_Unmarshal ¶
func (m *SearchResponse) XXX_Unmarshal(b []byte) error
type SearchResult ¶
type SearchResult struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchResult) Descriptor ¶
func (*SearchResult) Descriptor() ([]byte, []int)
func (*SearchResult) GetDescription ¶
func (m *SearchResult) GetDescription() string
func (*SearchResult) GetId ¶
func (m *SearchResult) GetId() int64
func (*SearchResult) GetUrl ¶
func (m *SearchResult) GetUrl() string
func (*SearchResult) ProtoMessage ¶
func (*SearchResult) ProtoMessage()
func (*SearchResult) Reset ¶
func (m *SearchResult) Reset()
func (*SearchResult) String ¶
func (m *SearchResult) String() string
func (*SearchResult) XXX_DiscardUnknown ¶
func (m *SearchResult) XXX_DiscardUnknown()
func (*SearchResult) XXX_Marshal ¶
func (m *SearchResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchResult) XXX_Merge ¶
func (m *SearchResult) XXX_Merge(src proto.Message)
func (*SearchResult) XXX_Size ¶
func (m *SearchResult) XXX_Size() int
func (*SearchResult) XXX_Unmarshal ¶
func (m *SearchResult) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.