search

package
v0.0.0-...-5bb5805 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthSearch        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSearch          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSearch = fmt.Errorf("proto: unexpected end of group")
)
View Source
var SearchRequestParam_Type_name = map[int32]string{
	0: "PC",
	1: "Mobile",
}
View Source
var SearchRequestParam_Type_value = map[string]int32{
	"PC":     0,
	"Mobile": 1,
}

Functions

This section is empty.

Types

type SearchRequestParam

type SearchRequestParam struct {
	QueryText            string                  `protobuf:"bytes,1,opt,name=query_text,json=queryText,proto3" json:"query_text,omitempty"`
	Limit                int32                   `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Type                 SearchRequestParam_Type `protobuf:"varint,4,opt,name=type,proto3,enum=SearchRequestParam_Type" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*SearchRequestParam) Descriptor

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

func (*SearchRequestParam) GetLimit

func (m *SearchRequestParam) GetLimit() int32

func (*SearchRequestParam) GetQueryText

func (m *SearchRequestParam) GetQueryText() string

func (*SearchRequestParam) GetType

func (*SearchRequestParam) Marshal

func (m *SearchRequestParam) Marshal() (dAtA []byte, err error)

func (*SearchRequestParam) MarshalTo

func (m *SearchRequestParam) MarshalTo(dAtA []byte) (int, error)

func (*SearchRequestParam) MarshalToSizedBuffer

func (m *SearchRequestParam) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SearchRequestParam) ProtoMessage

func (*SearchRequestParam) ProtoMessage()

func (*SearchRequestParam) Reset

func (m *SearchRequestParam) Reset()

func (*SearchRequestParam) Size

func (m *SearchRequestParam) Size() (n int)

func (*SearchRequestParam) String

func (m *SearchRequestParam) String() string

func (*SearchRequestParam) Unmarshal

func (m *SearchRequestParam) Unmarshal(dAtA []byte) error

func (*SearchRequestParam) XXX_DiscardUnknown

func (m *SearchRequestParam) XXX_DiscardUnknown()

func (*SearchRequestParam) XXX_Marshal

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

func (*SearchRequestParam) XXX_Merge

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

func (*SearchRequestParam) XXX_Size

func (m *SearchRequestParam) XXX_Size() int

func (*SearchRequestParam) XXX_Unmarshal

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

type SearchRequestParam_Type

type SearchRequestParam_Type int32
const (
	SearchRequestParam_PC     SearchRequestParam_Type = 0
	SearchRequestParam_Mobile SearchRequestParam_Type = 1
)

func (SearchRequestParam_Type) EnumDescriptor

func (SearchRequestParam_Type) EnumDescriptor() ([]byte, []int)

func (SearchRequestParam_Type) String

func (x SearchRequestParam_Type) String() string

type SearchResultPage

type SearchResultPage struct {
	Result               []string `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
	NumResults           int32    `protobuf:"varint,2,opt,name=num_results,json=numResults,proto3" json:"num_results,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SearchResultPage) Descriptor

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

func (*SearchResultPage) GetNumResults

func (m *SearchResultPage) GetNumResults() int32

func (*SearchResultPage) GetResult

func (m *SearchResultPage) GetResult() []string

func (*SearchResultPage) Marshal

func (m *SearchResultPage) Marshal() (dAtA []byte, err error)

func (*SearchResultPage) MarshalTo

func (m *SearchResultPage) MarshalTo(dAtA []byte) (int, error)

func (*SearchResultPage) MarshalToSizedBuffer

func (m *SearchResultPage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SearchResultPage) ProtoMessage

func (*SearchResultPage) ProtoMessage()

func (*SearchResultPage) Reset

func (m *SearchResultPage) Reset()

func (*SearchResultPage) Size

func (m *SearchResultPage) Size() (n int)

func (*SearchResultPage) String

func (m *SearchResultPage) String() string

func (*SearchResultPage) Unmarshal

func (m *SearchResultPage) Unmarshal(dAtA []byte) error

func (*SearchResultPage) XXX_DiscardUnknown

func (m *SearchResultPage) XXX_DiscardUnknown()

func (*SearchResultPage) XXX_Marshal

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

func (*SearchResultPage) XXX_Merge

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

func (*SearchResultPage) XXX_Size

func (m *SearchResultPage) XXX_Size() int

func (*SearchResultPage) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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