Versions in this module Expand all Collapse all v0 v0.0.1 Jun 3, 2022 Changes in this version + var ErrIntOverflowMyproto = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthMyproto = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupMyproto = fmt.Errorf("proto: unexpected end of group") + var SearchReq_Type_name = map[int32]string + var SearchReq_Type_value = map[string]int32 + func RegisterUDFProviderServer(s *grpc.Server, srv UDFProviderServer) + type MetaData struct + Build string + Buvid string + Ip string + Mid int64 + Referer string + UserAgent string + Username string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*MetaData) Descriptor() ([]byte, []int) + func (*MetaData) ProtoMessage() + func (m *MetaData) Marshal() (dAtA []byte, err error) + func (m *MetaData) MarshalTo(dAtA []byte) (int, error) + func (m *MetaData) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MetaData) Reset() + func (m *MetaData) Size() (n int) + func (m *MetaData) String() string + func (m *MetaData) Unmarshal(dAtA []byte) error + func (m *MetaData) XXX_DiscardUnknown() + func (m *MetaData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MetaData) XXX_Merge(src proto.Message) + func (m *MetaData) XXX_Size() int + func (m *MetaData) XXX_Unmarshal(b []byte) error + type SearchReq struct + Extra map[string]string + Limit int32 + Metadata *MetaData + QueryText string + Type SearchReq_Type + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SearchReq) Descriptor() ([]byte, []int) + func (*SearchReq) ProtoMessage() + func (m *SearchReq) Marshal() (dAtA []byte, err error) + func (m *SearchReq) MarshalTo(dAtA []byte) (int, error) + func (m *SearchReq) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SearchReq) Reset() + func (m *SearchReq) Size() (n int) + func (m *SearchReq) String() string + func (m *SearchReq) Unmarshal(dAtA []byte) error + func (m *SearchReq) XXX_DiscardUnknown() + func (m *SearchReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SearchReq) XXX_Merge(src proto.Message) + func (m *SearchReq) XXX_Size() int + func (m *SearchReq) XXX_Unmarshal(b []byte) error + type SearchReq_Type int32 + const SearchReq_Mobile + const SearchReq_PC + func (SearchReq_Type) EnumDescriptor() ([]byte, []int) + func (x SearchReq_Type) String() string + type SearchResp struct + NumResults int32 + Result []string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SearchResp) Descriptor() ([]byte, []int) + func (*SearchResp) ProtoMessage() + func (m *SearchResp) Marshal() (dAtA []byte, err error) + func (m *SearchResp) MarshalTo(dAtA []byte) (int, error) + func (m *SearchResp) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SearchResp) Reset() + func (m *SearchResp) Size() (n int) + func (m *SearchResp) String() string + func (m *SearchResp) Unmarshal(dAtA []byte) error + func (m *SearchResp) XXX_DiscardUnknown() + func (m *SearchResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SearchResp) XXX_Merge(src proto.Message) + func (m *SearchResp) XXX_Size() int + func (m *SearchResp) XXX_Unmarshal(b []byte) error + type UDFProviderClient interface + Search func(ctx context.Context, in *SearchReq, opts ...grpc.CallOption) (*SearchResp, error) + func NewUDFProviderClient(cc *grpc.ClientConn) UDFProviderClient + type UDFProviderServer interface + Search func(context.Context, *SearchReq) (*SearchResp, error) + type UnimplementedUDFProviderServer struct + func (*UnimplementedUDFProviderServer) Search(ctx context.Context, req *SearchReq) (*SearchResp, error)