bili_search_rpc_tagbox

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Default_SourceTypeConst_SOURCE_ARTICLE string = "article"

Variables

View Source
var (
	ErrInvalidLengthSearch = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSearch   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterTagboxServiceServer

func RegisterTagboxServiceServer(s *grpc.Server, srv TagboxServiceServer)

Types

type SourceTypeConst

type SourceTypeConst struct {
	SOURCE_ARTICLE       *string  `protobuf:"bytes,1,opt,name=SOURCE_ARTICLE,json=SOURCEARTICLE,def=article" json:"SOURCE_ARTICLE,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SourceTypeConst) Descriptor

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

func (*SourceTypeConst) GetSOURCE_ARTICLE

func (m *SourceTypeConst) GetSOURCE_ARTICLE() string

func (*SourceTypeConst) Marshal

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

func (*SourceTypeConst) MarshalTo

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

func (*SourceTypeConst) ProtoMessage

func (*SourceTypeConst) ProtoMessage()

func (*SourceTypeConst) Reset

func (m *SourceTypeConst) Reset()

func (*SourceTypeConst) Size

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

func (*SourceTypeConst) String

func (m *SourceTypeConst) String() string

func (*SourceTypeConst) Unmarshal

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

func (*SourceTypeConst) XXX_DiscardUnknown

func (m *SourceTypeConst) XXX_DiscardUnknown()

func (*SourceTypeConst) XXX_Marshal

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

func (*SourceTypeConst) XXX_Merge

func (dst *SourceTypeConst) XXX_Merge(src proto.Message)

func (*SourceTypeConst) XXX_Size

func (m *SourceTypeConst) XXX_Size() int

func (*SourceTypeConst) XXX_Unmarshal

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

type TagboxRequest

type TagboxRequest struct {
	Id                   *int32   `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
	SourceType           *string  `protobuf:"bytes,2,req,name=source_type,json=sourceType" json:"source_type,omitempty"`
	Content              *string  `protobuf:"bytes,3,req,name=content" json:"content,omitempty"`
	Trackid              *int32   `protobuf:"varint,4,req,name=trackid" json:"trackid,omitempty"`
	Remarks              *string  `protobuf:"bytes,5,opt,name=remarks" json:"remarks,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TagboxRequest) Descriptor

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

func (*TagboxRequest) GetContent

func (m *TagboxRequest) GetContent() string

func (*TagboxRequest) GetId

func (m *TagboxRequest) GetId() int32

func (*TagboxRequest) GetRemarks

func (m *TagboxRequest) GetRemarks() string

func (*TagboxRequest) GetSourceType

func (m *TagboxRequest) GetSourceType() string

func (*TagboxRequest) GetTrackid

func (m *TagboxRequest) GetTrackid() int32

func (*TagboxRequest) Marshal

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

func (*TagboxRequest) MarshalTo

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

func (*TagboxRequest) ProtoMessage

func (*TagboxRequest) ProtoMessage()

func (*TagboxRequest) Reset

func (m *TagboxRequest) Reset()

func (*TagboxRequest) Size

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

func (*TagboxRequest) String

func (m *TagboxRequest) String() string

func (*TagboxRequest) Unmarshal

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

func (*TagboxRequest) XXX_DiscardUnknown

func (m *TagboxRequest) XXX_DiscardUnknown()

func (*TagboxRequest) XXX_Marshal

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

func (*TagboxRequest) XXX_Merge

func (dst *TagboxRequest) XXX_Merge(src proto.Message)

func (*TagboxRequest) XXX_Size

func (m *TagboxRequest) XXX_Size() int

func (*TagboxRequest) XXX_Unmarshal

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

type TagboxResponse

type TagboxResponse struct {
	ExecCode             *int32   `protobuf:"varint,1,req,name=exec_code,json=execCode" json:"exec_code,omitempty"`
	Id                   *int32   `protobuf:"varint,2,req,name=id" json:"id,omitempty"`
	Keywords             []string `protobuf:"bytes,3,rep,name=keywords" json:"keywords,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TagboxResponse) Descriptor

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

func (*TagboxResponse) GetExecCode

func (m *TagboxResponse) GetExecCode() int32

func (*TagboxResponse) GetId

func (m *TagboxResponse) GetId() int32

func (*TagboxResponse) GetKeywords

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

func (*TagboxResponse) Marshal

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

func (*TagboxResponse) MarshalTo

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

func (*TagboxResponse) ProtoMessage

func (*TagboxResponse) ProtoMessage()

func (*TagboxResponse) Reset

func (m *TagboxResponse) Reset()

func (*TagboxResponse) Size

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

func (*TagboxResponse) String

func (m *TagboxResponse) String() string

func (*TagboxResponse) Unmarshal

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

func (*TagboxResponse) XXX_DiscardUnknown

func (m *TagboxResponse) XXX_DiscardUnknown()

func (*TagboxResponse) XXX_Marshal

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

func (*TagboxResponse) XXX_Merge

func (dst *TagboxResponse) XXX_Merge(src proto.Message)

func (*TagboxResponse) XXX_Size

func (m *TagboxResponse) XXX_Size() int

func (*TagboxResponse) XXX_Unmarshal

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

type TagboxServiceClient

type TagboxServiceClient interface {
	Segment(ctx context.Context, in *TagboxRequest, opts ...grpc.CallOption) (*TagboxResponse, error)
}

TagboxServiceClient is the client API for TagboxService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewTagboxServiceClient

func NewTagboxServiceClient(cc *grpc.ClientConn) TagboxServiceClient

type TagboxServiceServer

type TagboxServiceServer interface {
	Segment(context.Context, *TagboxRequest) (*TagboxResponse, error)
}

TagboxServiceServer is the server API for TagboxService service.

Jump to

Keyboard shortcuts

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