Documentation ¶
Index ¶
- Variables
- type BaseResp
- func (*BaseResp) Descriptor() ([]byte, []int)deprecated
- func (x *BaseResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *BaseResp) FastWrite(buf []byte) (offset int)
- func (x *BaseResp) GetServiceTime() int64
- func (x *BaseResp) GetStatusCode() int32
- func (x *BaseResp) GetStatusMessage() string
- func (*BaseResp) ProtoMessage()
- func (x *BaseResp) ProtoReflect() protoreflect.Message
- func (x *BaseResp) Reset()
- func (x *BaseResp) Size() (n int)
- func (x *BaseResp) String() string
- type FavoriteService
- type RPCFavoriteCreateReq
- func (*RPCFavoriteCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *RPCFavoriteCreateReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *RPCFavoriteCreateReq) FastWrite(buf []byte) (offset int)
- func (x *RPCFavoriteCreateReq) GetUserId() int64
- func (x *RPCFavoriteCreateReq) GetVideoId() int64
- func (*RPCFavoriteCreateReq) ProtoMessage()
- func (x *RPCFavoriteCreateReq) ProtoReflect() protoreflect.Message
- func (x *RPCFavoriteCreateReq) Reset()
- func (x *RPCFavoriteCreateReq) Size() (n int)
- func (x *RPCFavoriteCreateReq) String() string
- type RPCFavoriteCreateResp
- func (*RPCFavoriteCreateResp) Descriptor() ([]byte, []int)deprecated
- func (x *RPCFavoriteCreateResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *RPCFavoriteCreateResp) FastWrite(buf []byte) (offset int)
- func (x *RPCFavoriteCreateResp) GetBaseResp() *BaseResp
- func (*RPCFavoriteCreateResp) ProtoMessage()
- func (x *RPCFavoriteCreateResp) ProtoReflect() protoreflect.Message
- func (x *RPCFavoriteCreateResp) Reset()
- func (x *RPCFavoriteCreateResp) Size() (n int)
- func (x *RPCFavoriteCreateResp) String() string
- type RPCFavoriteDelReq
- func (*RPCFavoriteDelReq) Descriptor() ([]byte, []int)deprecated
- func (x *RPCFavoriteDelReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *RPCFavoriteDelReq) FastWrite(buf []byte) (offset int)
- func (x *RPCFavoriteDelReq) GetUserId() int64
- func (x *RPCFavoriteDelReq) GetVideoId() int64
- func (*RPCFavoriteDelReq) ProtoMessage()
- func (x *RPCFavoriteDelReq) ProtoReflect() protoreflect.Message
- func (x *RPCFavoriteDelReq) Reset()
- func (x *RPCFavoriteDelReq) Size() (n int)
- func (x *RPCFavoriteDelReq) String() string
- type RPCFavoriteDelResp
- func (*RPCFavoriteDelResp) Descriptor() ([]byte, []int)deprecated
- func (x *RPCFavoriteDelResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *RPCFavoriteDelResp) FastWrite(buf []byte) (offset int)
- func (x *RPCFavoriteDelResp) GetBaseResp() *BaseResp
- func (*RPCFavoriteDelResp) ProtoMessage()
- func (x *RPCFavoriteDelResp) ProtoReflect() protoreflect.Message
- func (x *RPCFavoriteDelResp) Reset()
- func (x *RPCFavoriteDelResp) Size() (n int)
- func (x *RPCFavoriteDelResp) String() string
- type RPCFavoriteListReq
- func (*RPCFavoriteListReq) Descriptor() ([]byte, []int)deprecated
- func (x *RPCFavoriteListReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *RPCFavoriteListReq) FastWrite(buf []byte) (offset int)
- func (x *RPCFavoriteListReq) GetUserId() int64
- func (*RPCFavoriteListReq) ProtoMessage()
- func (x *RPCFavoriteListReq) ProtoReflect() protoreflect.Message
- func (x *RPCFavoriteListReq) Reset()
- func (x *RPCFavoriteListReq) Size() (n int)
- func (x *RPCFavoriteListReq) String() string
- type RPCFavoriteListResp
- func (*RPCFavoriteListResp) Descriptor() ([]byte, []int)deprecated
- func (x *RPCFavoriteListResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *RPCFavoriteListResp) FastWrite(buf []byte) (offset int)
- func (x *RPCFavoriteListResp) GetBaseResp() *BaseResp
- func (x *RPCFavoriteListResp) GetVideoIdList() []int64
- func (*RPCFavoriteListResp) ProtoMessage()
- func (x *RPCFavoriteListResp) ProtoReflect() protoreflect.Message
- func (x *RPCFavoriteListResp) Reset()
- func (x *RPCFavoriteListResp) Size() (n int)
- func (x *RPCFavoriteListResp) String() string
- type RPCFilterFavoriteReq
- func (*RPCFilterFavoriteReq) Descriptor() ([]byte, []int)deprecated
- func (x *RPCFilterFavoriteReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *RPCFilterFavoriteReq) FastWrite(buf []byte) (offset int)
- func (x *RPCFilterFavoriteReq) GetUserId() int64
- func (x *RPCFilterFavoriteReq) GetVideoIdList() []int64
- func (*RPCFilterFavoriteReq) ProtoMessage()
- func (x *RPCFilterFavoriteReq) ProtoReflect() protoreflect.Message
- func (x *RPCFilterFavoriteReq) Reset()
- func (x *RPCFilterFavoriteReq) Size() (n int)
- func (x *RPCFilterFavoriteReq) String() string
- type RPCFilterFavoriteResp
- func (*RPCFilterFavoriteResp) Descriptor() ([]byte, []int)deprecated
- func (x *RPCFilterFavoriteResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *RPCFilterFavoriteResp) FastWrite(buf []byte) (offset int)
- func (x *RPCFilterFavoriteResp) GetBaseResp() *BaseResp
- func (x *RPCFilterFavoriteResp) GetVideoIdList() []int64
- func (*RPCFilterFavoriteResp) ProtoMessage()
- func (x *RPCFilterFavoriteResp) ProtoReflect() protoreflect.Message
- func (x *RPCFilterFavoriteResp) Reset()
- func (x *RPCFilterFavoriteResp) Size() (n int)
- func (x *RPCFilterFavoriteResp) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_favorite_rpc_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BaseResp ¶
type BaseResp struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` StatusMessage string `protobuf:"bytes,2,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` ServiceTime int64 `protobuf:"varint,3,opt,name=service_time,json=serviceTime,proto3" json:"service_time,omitempty"` // contains filtered or unexported fields }
func (*BaseResp) Descriptor
deprecated
func (*BaseResp) GetServiceTime ¶
func (*BaseResp) GetStatusCode ¶
func (*BaseResp) GetStatusMessage ¶
func (*BaseResp) ProtoMessage ¶
func (*BaseResp) ProtoMessage()
func (*BaseResp) ProtoReflect ¶
func (x *BaseResp) ProtoReflect() protoreflect.Message
type FavoriteService ¶
type FavoriteService interface { CreateFavorite(ctx context.Context, req *RPCFavoriteCreateReq) (res *RPCFavoriteCreateResp, err error) DelFavorite(ctx context.Context, req *RPCFavoriteDelReq) (res *RPCFavoriteDelResp, err error) FavoriteList(ctx context.Context, req *RPCFavoriteListReq) (res *RPCFavoriteListResp, err error) FilterFavorite(ctx context.Context, req *RPCFilterFavoriteReq) (res *RPCFilterFavoriteResp, err error) }
type RPCFavoriteCreateReq ¶
type RPCFavoriteCreateReq struct { VideoId int64 `protobuf:"varint,1,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*RPCFavoriteCreateReq) Descriptor
deprecated
func (*RPCFavoriteCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use RPCFavoriteCreateReq.ProtoReflect.Descriptor instead.
func (*RPCFavoriteCreateReq) FastWrite ¶
func (x *RPCFavoriteCreateReq) FastWrite(buf []byte) (offset int)
func (*RPCFavoriteCreateReq) GetUserId ¶
func (x *RPCFavoriteCreateReq) GetUserId() int64
func (*RPCFavoriteCreateReq) GetVideoId ¶
func (x *RPCFavoriteCreateReq) GetVideoId() int64
func (*RPCFavoriteCreateReq) ProtoMessage ¶
func (*RPCFavoriteCreateReq) ProtoMessage()
func (*RPCFavoriteCreateReq) ProtoReflect ¶
func (x *RPCFavoriteCreateReq) ProtoReflect() protoreflect.Message
func (*RPCFavoriteCreateReq) Reset ¶
func (x *RPCFavoriteCreateReq) Reset()
func (*RPCFavoriteCreateReq) Size ¶
func (x *RPCFavoriteCreateReq) Size() (n int)
func (*RPCFavoriteCreateReq) String ¶
func (x *RPCFavoriteCreateReq) String() string
type RPCFavoriteCreateResp ¶
type RPCFavoriteCreateResp struct { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty"` // contains filtered or unexported fields }
func (*RPCFavoriteCreateResp) Descriptor
deprecated
func (*RPCFavoriteCreateResp) Descriptor() ([]byte, []int)
Deprecated: Use RPCFavoriteCreateResp.ProtoReflect.Descriptor instead.
func (*RPCFavoriteCreateResp) FastWrite ¶
func (x *RPCFavoriteCreateResp) FastWrite(buf []byte) (offset int)
func (*RPCFavoriteCreateResp) GetBaseResp ¶
func (x *RPCFavoriteCreateResp) GetBaseResp() *BaseResp
func (*RPCFavoriteCreateResp) ProtoMessage ¶
func (*RPCFavoriteCreateResp) ProtoMessage()
func (*RPCFavoriteCreateResp) ProtoReflect ¶
func (x *RPCFavoriteCreateResp) ProtoReflect() protoreflect.Message
func (*RPCFavoriteCreateResp) Reset ¶
func (x *RPCFavoriteCreateResp) Reset()
func (*RPCFavoriteCreateResp) Size ¶
func (x *RPCFavoriteCreateResp) Size() (n int)
func (*RPCFavoriteCreateResp) String ¶
func (x *RPCFavoriteCreateResp) String() string
type RPCFavoriteDelReq ¶
type RPCFavoriteDelReq struct { VideoId int64 `protobuf:"varint,1,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*RPCFavoriteDelReq) Descriptor
deprecated
func (*RPCFavoriteDelReq) Descriptor() ([]byte, []int)
Deprecated: Use RPCFavoriteDelReq.ProtoReflect.Descriptor instead.
func (*RPCFavoriteDelReq) FastWrite ¶
func (x *RPCFavoriteDelReq) FastWrite(buf []byte) (offset int)
func (*RPCFavoriteDelReq) GetUserId ¶
func (x *RPCFavoriteDelReq) GetUserId() int64
func (*RPCFavoriteDelReq) GetVideoId ¶
func (x *RPCFavoriteDelReq) GetVideoId() int64
func (*RPCFavoriteDelReq) ProtoMessage ¶
func (*RPCFavoriteDelReq) ProtoMessage()
func (*RPCFavoriteDelReq) ProtoReflect ¶
func (x *RPCFavoriteDelReq) ProtoReflect() protoreflect.Message
func (*RPCFavoriteDelReq) Reset ¶
func (x *RPCFavoriteDelReq) Reset()
func (*RPCFavoriteDelReq) Size ¶
func (x *RPCFavoriteDelReq) Size() (n int)
func (*RPCFavoriteDelReq) String ¶
func (x *RPCFavoriteDelReq) String() string
type RPCFavoriteDelResp ¶
type RPCFavoriteDelResp struct { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty"` // contains filtered or unexported fields }
func (*RPCFavoriteDelResp) Descriptor
deprecated
func (*RPCFavoriteDelResp) Descriptor() ([]byte, []int)
Deprecated: Use RPCFavoriteDelResp.ProtoReflect.Descriptor instead.
func (*RPCFavoriteDelResp) FastWrite ¶
func (x *RPCFavoriteDelResp) FastWrite(buf []byte) (offset int)
func (*RPCFavoriteDelResp) GetBaseResp ¶
func (x *RPCFavoriteDelResp) GetBaseResp() *BaseResp
func (*RPCFavoriteDelResp) ProtoMessage ¶
func (*RPCFavoriteDelResp) ProtoMessage()
func (*RPCFavoriteDelResp) ProtoReflect ¶
func (x *RPCFavoriteDelResp) ProtoReflect() protoreflect.Message
func (*RPCFavoriteDelResp) Reset ¶
func (x *RPCFavoriteDelResp) Reset()
func (*RPCFavoriteDelResp) Size ¶
func (x *RPCFavoriteDelResp) Size() (n int)
func (*RPCFavoriteDelResp) String ¶
func (x *RPCFavoriteDelResp) String() string
type RPCFavoriteListReq ¶
type RPCFavoriteListReq struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*RPCFavoriteListReq) Descriptor
deprecated
func (*RPCFavoriteListReq) Descriptor() ([]byte, []int)
Deprecated: Use RPCFavoriteListReq.ProtoReflect.Descriptor instead.
func (*RPCFavoriteListReq) FastWrite ¶
func (x *RPCFavoriteListReq) FastWrite(buf []byte) (offset int)
func (*RPCFavoriteListReq) GetUserId ¶
func (x *RPCFavoriteListReq) GetUserId() int64
func (*RPCFavoriteListReq) ProtoMessage ¶
func (*RPCFavoriteListReq) ProtoMessage()
func (*RPCFavoriteListReq) ProtoReflect ¶
func (x *RPCFavoriteListReq) ProtoReflect() protoreflect.Message
func (*RPCFavoriteListReq) Reset ¶
func (x *RPCFavoriteListReq) Reset()
func (*RPCFavoriteListReq) Size ¶
func (x *RPCFavoriteListReq) Size() (n int)
func (*RPCFavoriteListReq) String ¶
func (x *RPCFavoriteListReq) String() string
type RPCFavoriteListResp ¶
type RPCFavoriteListResp struct { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty"` VideoIdList []int64 `protobuf:"varint,2,rep,packed,name=video_id_list,json=videoIdList,proto3" json:"video_id_list,omitempty"` // contains filtered or unexported fields }
func (*RPCFavoriteListResp) Descriptor
deprecated
func (*RPCFavoriteListResp) Descriptor() ([]byte, []int)
Deprecated: Use RPCFavoriteListResp.ProtoReflect.Descriptor instead.
func (*RPCFavoriteListResp) FastWrite ¶
func (x *RPCFavoriteListResp) FastWrite(buf []byte) (offset int)
func (*RPCFavoriteListResp) GetBaseResp ¶
func (x *RPCFavoriteListResp) GetBaseResp() *BaseResp
func (*RPCFavoriteListResp) GetVideoIdList ¶
func (x *RPCFavoriteListResp) GetVideoIdList() []int64
func (*RPCFavoriteListResp) ProtoMessage ¶
func (*RPCFavoriteListResp) ProtoMessage()
func (*RPCFavoriteListResp) ProtoReflect ¶
func (x *RPCFavoriteListResp) ProtoReflect() protoreflect.Message
func (*RPCFavoriteListResp) Reset ¶
func (x *RPCFavoriteListResp) Reset()
func (*RPCFavoriteListResp) Size ¶
func (x *RPCFavoriteListResp) Size() (n int)
func (*RPCFavoriteListResp) String ¶
func (x *RPCFavoriteListResp) String() string
type RPCFilterFavoriteReq ¶
type RPCFilterFavoriteReq struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` VideoIdList []int64 `protobuf:"varint,2,rep,packed,name=video_id_list,json=videoIdList,proto3" json:"video_id_list,omitempty"` // contains filtered or unexported fields }
func (*RPCFilterFavoriteReq) Descriptor
deprecated
func (*RPCFilterFavoriteReq) Descriptor() ([]byte, []int)
Deprecated: Use RPCFilterFavoriteReq.ProtoReflect.Descriptor instead.
func (*RPCFilterFavoriteReq) FastWrite ¶
func (x *RPCFilterFavoriteReq) FastWrite(buf []byte) (offset int)
func (*RPCFilterFavoriteReq) GetUserId ¶
func (x *RPCFilterFavoriteReq) GetUserId() int64
func (*RPCFilterFavoriteReq) GetVideoIdList ¶
func (x *RPCFilterFavoriteReq) GetVideoIdList() []int64
func (*RPCFilterFavoriteReq) ProtoMessage ¶
func (*RPCFilterFavoriteReq) ProtoMessage()
func (*RPCFilterFavoriteReq) ProtoReflect ¶
func (x *RPCFilterFavoriteReq) ProtoReflect() protoreflect.Message
func (*RPCFilterFavoriteReq) Reset ¶
func (x *RPCFilterFavoriteReq) Reset()
func (*RPCFilterFavoriteReq) Size ¶
func (x *RPCFilterFavoriteReq) Size() (n int)
func (*RPCFilterFavoriteReq) String ¶
func (x *RPCFilterFavoriteReq) String() string
type RPCFilterFavoriteResp ¶
type RPCFilterFavoriteResp struct { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty"` VideoIdList []int64 `protobuf:"varint,2,rep,packed,name=video_id_list,json=videoIdList,proto3" json:"video_id_list,omitempty"` // contains filtered or unexported fields }
func (*RPCFilterFavoriteResp) Descriptor
deprecated
func (*RPCFilterFavoriteResp) Descriptor() ([]byte, []int)
Deprecated: Use RPCFilterFavoriteResp.ProtoReflect.Descriptor instead.
func (*RPCFilterFavoriteResp) FastWrite ¶
func (x *RPCFilterFavoriteResp) FastWrite(buf []byte) (offset int)
func (*RPCFilterFavoriteResp) GetBaseResp ¶
func (x *RPCFilterFavoriteResp) GetBaseResp() *BaseResp
func (*RPCFilterFavoriteResp) GetVideoIdList ¶
func (x *RPCFilterFavoriteResp) GetVideoIdList() []int64
func (*RPCFilterFavoriteResp) ProtoMessage ¶
func (*RPCFilterFavoriteResp) ProtoMessage()
func (*RPCFilterFavoriteResp) ProtoReflect ¶
func (x *RPCFilterFavoriteResp) ProtoReflect() protoreflect.Message
func (*RPCFilterFavoriteResp) Reset ¶
func (x *RPCFilterFavoriteResp) Reset()
func (*RPCFilterFavoriteResp) Size ¶
func (x *RPCFilterFavoriteResp) Size() (n int)
func (*RPCFilterFavoriteResp) String ¶
func (x *RPCFilterFavoriteResp) String() string
Click to show internal directories.
Click to hide internal directories.