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) GetCode() int64
- func (x *BaseResp) GetMsg() 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 FeedRequest
- func (*FeedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FeedRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *FeedRequest) FastWrite(buf []byte) (offset int)
- func (x *FeedRequest) GetLatestTime() int64
- func (x *FeedRequest) GetToken() string
- func (*FeedRequest) ProtoMessage()
- func (x *FeedRequest) ProtoReflect() protoreflect.Message
- func (x *FeedRequest) Reset()
- func (x *FeedRequest) Size() (n int)
- func (x *FeedRequest) String() string
- type FeedResponse
- func (*FeedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FeedResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *FeedResponse) FastWrite(buf []byte) (offset int)
- func (x *FeedResponse) GetBase() *BaseResp
- func (x *FeedResponse) GetNextTime() int64
- func (x *FeedResponse) GetVideoList() []*Video
- func (*FeedResponse) ProtoMessage()
- func (x *FeedResponse) ProtoReflect() protoreflect.Message
- func (x *FeedResponse) Reset()
- func (x *FeedResponse) Size() (n int)
- func (x *FeedResponse) String() string
- type GetFavoriteVideoInfoRequest
- func (*GetFavoriteVideoInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFavoriteVideoInfoRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetFavoriteVideoInfoRequest) FastWrite(buf []byte) (offset int)
- func (x *GetFavoriteVideoInfoRequest) GetToken() string
- func (x *GetFavoriteVideoInfoRequest) GetVideoId() []int64
- func (*GetFavoriteVideoInfoRequest) ProtoMessage()
- func (x *GetFavoriteVideoInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetFavoriteVideoInfoRequest) Reset()
- func (x *GetFavoriteVideoInfoRequest) Size() (n int)
- func (x *GetFavoriteVideoInfoRequest) String() string
- type GetFavoriteVideoInfoResponse
- func (*GetFavoriteVideoInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFavoriteVideoInfoResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetFavoriteVideoInfoResponse) FastWrite(buf []byte) (offset int)
- func (x *GetFavoriteVideoInfoResponse) GetBase() *BaseResp
- func (x *GetFavoriteVideoInfoResponse) GetVideoList() []*Video
- func (*GetFavoriteVideoInfoResponse) ProtoMessage()
- func (x *GetFavoriteVideoInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetFavoriteVideoInfoResponse) Reset()
- func (x *GetFavoriteVideoInfoResponse) Size() (n int)
- func (x *GetFavoriteVideoInfoResponse) String() string
- type GetPublishListRequest
- func (*GetPublishListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPublishListRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetPublishListRequest) FastWrite(buf []byte) (offset int)
- func (x *GetPublishListRequest) GetToken() string
- func (x *GetPublishListRequest) GetUserId() int64
- func (*GetPublishListRequest) ProtoMessage()
- func (x *GetPublishListRequest) ProtoReflect() protoreflect.Message
- func (x *GetPublishListRequest) Reset()
- func (x *GetPublishListRequest) Size() (n int)
- func (x *GetPublishListRequest) String() string
- type GetPublishListResponse
- func (*GetPublishListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPublishListResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetPublishListResponse) FastWrite(buf []byte) (offset int)
- func (x *GetPublishListResponse) GetBase() *BaseResp
- func (x *GetPublishListResponse) GetVideoList() []*Video
- func (*GetPublishListResponse) ProtoMessage()
- func (x *GetPublishListResponse) ProtoReflect() protoreflect.Message
- func (x *GetPublishListResponse) Reset()
- func (x *GetPublishListResponse) Size() (n int)
- func (x *GetPublishListResponse) String() string
- type GetVideoIDByUidRequset
- func (*GetVideoIDByUidRequset) Descriptor() ([]byte, []int)deprecated
- func (x *GetVideoIDByUidRequset) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetVideoIDByUidRequset) FastWrite(buf []byte) (offset int)
- func (x *GetVideoIDByUidRequset) GetToken() string
- func (x *GetVideoIDByUidRequset) GetUserId() int64
- func (*GetVideoIDByUidRequset) ProtoMessage()
- func (x *GetVideoIDByUidRequset) ProtoReflect() protoreflect.Message
- func (x *GetVideoIDByUidRequset) Reset()
- func (x *GetVideoIDByUidRequset) Size() (n int)
- func (x *GetVideoIDByUidRequset) String() string
- type GetVideoIDByUidResponse
- func (*GetVideoIDByUidResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVideoIDByUidResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetVideoIDByUidResponse) FastWrite(buf []byte) (offset int)
- func (x *GetVideoIDByUidResponse) GetBase() *BaseResp
- func (x *GetVideoIDByUidResponse) GetVideoId() []int64
- func (*GetVideoIDByUidResponse) ProtoMessage()
- func (x *GetVideoIDByUidResponse) ProtoReflect() protoreflect.Message
- func (x *GetVideoIDByUidResponse) Reset()
- func (x *GetVideoIDByUidResponse) Size() (n int)
- func (x *GetVideoIDByUidResponse) String() string
- type GetWorkCountRequest
- func (*GetWorkCountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetWorkCountRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetWorkCountRequest) FastWrite(buf []byte) (offset int)
- func (x *GetWorkCountRequest) GetToken() string
- func (x *GetWorkCountRequest) GetUserId() int64
- func (*GetWorkCountRequest) ProtoMessage()
- func (x *GetWorkCountRequest) ProtoReflect() protoreflect.Message
- func (x *GetWorkCountRequest) Reset()
- func (x *GetWorkCountRequest) Size() (n int)
- func (x *GetWorkCountRequest) String() string
- type GetWorkCountResponse
- func (*GetWorkCountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetWorkCountResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetWorkCountResponse) FastWrite(buf []byte) (offset int)
- func (x *GetWorkCountResponse) GetBase() *BaseResp
- func (x *GetWorkCountResponse) GetWorkCount() int64
- func (*GetWorkCountResponse) ProtoMessage()
- func (x *GetWorkCountResponse) ProtoReflect() protoreflect.Message
- func (x *GetWorkCountResponse) Reset()
- func (x *GetWorkCountResponse) Size() (n int)
- func (x *GetWorkCountResponse) String() string
- type PutVideoRequest
- func (*PutVideoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutVideoRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *PutVideoRequest) FastWrite(buf []byte) (offset int)
- func (x *PutVideoRequest) GetTitle() string
- func (x *PutVideoRequest) GetToken() string
- func (x *PutVideoRequest) GetVideoFile() []byte
- func (*PutVideoRequest) ProtoMessage()
- func (x *PutVideoRequest) ProtoReflect() protoreflect.Message
- func (x *PutVideoRequest) Reset()
- func (x *PutVideoRequest) Size() (n int)
- func (x *PutVideoRequest) String() string
- type PutVideoResponse
- func (*PutVideoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PutVideoResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *PutVideoResponse) FastWrite(buf []byte) (offset int)
- func (x *PutVideoResponse) GetBase() *BaseResp
- func (*PutVideoResponse) ProtoMessage()
- func (x *PutVideoResponse) ProtoReflect() protoreflect.Message
- func (x *PutVideoResponse) Reset()
- func (x *PutVideoResponse) Size() (n int)
- func (x *PutVideoResponse) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *User) FastWrite(buf []byte) (offset int)
- func (x *User) GetAvatar() string
- func (x *User) GetBackgroundImage() string
- func (x *User) GetFavoriteCount() int64
- func (x *User) GetFollowCount() int64
- func (x *User) GetFollowerCount() int64
- func (x *User) GetId() int64
- func (x *User) GetIsFollow() bool
- func (x *User) GetName() string
- func (x *User) GetSignature() string
- func (x *User) GetTotalFavorited() int64
- func (x *User) GetWorkCount() int64
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) Size() (n int)
- func (x *User) String() string
- type Video
- func (*Video) Descriptor() ([]byte, []int)deprecated
- func (x *Video) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Video) FastWrite(buf []byte) (offset int)
- func (x *Video) GetAuthor() *User
- func (x *Video) GetCommentCount() int64
- func (x *Video) GetCoverUrl() string
- func (x *Video) GetFavoriteCount() int64
- func (x *Video) GetId() int64
- func (x *Video) GetIsFavorite() bool
- func (x *Video) GetPlayUrl() string
- func (x *Video) GetTitle() string
- func (*Video) ProtoMessage()
- func (x *Video) ProtoReflect() protoreflect.Message
- func (x *Video) Reset()
- func (x *Video) Size() (n int)
- func (x *Video) String() string
- type VideoService
Constants ¶
This section is empty.
Variables ¶
var File_video_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BaseResp ¶
type BaseResp struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*BaseResp) Descriptor
deprecated
func (*BaseResp) ProtoMessage ¶
func (*BaseResp) ProtoMessage()
func (*BaseResp) ProtoReflect ¶
func (x *BaseResp) ProtoReflect() protoreflect.Message
type FeedRequest ¶
type FeedRequest struct { LatestTime *int64 `protobuf:"varint,1,opt,name=latest_time,json=latestTime,proto3,oneof" json:"latest_time,omitempty"` Token *string `protobuf:"bytes,2,opt,name=token,proto3,oneof" json:"token,omitempty"` // contains filtered or unexported fields }
func (*FeedRequest) Descriptor
deprecated
func (*FeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use FeedRequest.ProtoReflect.Descriptor instead.
func (*FeedRequest) FastWrite ¶
func (x *FeedRequest) FastWrite(buf []byte) (offset int)
func (*FeedRequest) GetLatestTime ¶
func (x *FeedRequest) GetLatestTime() int64
func (*FeedRequest) GetToken ¶
func (x *FeedRequest) GetToken() string
func (*FeedRequest) ProtoMessage ¶
func (*FeedRequest) ProtoMessage()
func (*FeedRequest) ProtoReflect ¶
func (x *FeedRequest) ProtoReflect() protoreflect.Message
func (*FeedRequest) Reset ¶
func (x *FeedRequest) Reset()
func (*FeedRequest) Size ¶
func (x *FeedRequest) Size() (n int)
func (*FeedRequest) String ¶
func (x *FeedRequest) String() string
type FeedResponse ¶
type FeedResponse struct { Base *BaseResp `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` NextTime int64 `protobuf:"varint,2,opt,name=next_time,json=nextTime,proto3" json:"next_time,omitempty"` VideoList []*Video `protobuf:"bytes,3,rep,name=video_list,json=videoList,proto3" json:"video_list,omitempty"` // contains filtered or unexported fields }
func (*FeedResponse) Descriptor
deprecated
func (*FeedResponse) Descriptor() ([]byte, []int)
Deprecated: Use FeedResponse.ProtoReflect.Descriptor instead.
func (*FeedResponse) FastWrite ¶
func (x *FeedResponse) FastWrite(buf []byte) (offset int)
func (*FeedResponse) GetBase ¶
func (x *FeedResponse) GetBase() *BaseResp
func (*FeedResponse) GetNextTime ¶
func (x *FeedResponse) GetNextTime() int64
func (*FeedResponse) GetVideoList ¶
func (x *FeedResponse) GetVideoList() []*Video
func (*FeedResponse) ProtoMessage ¶
func (*FeedResponse) ProtoMessage()
func (*FeedResponse) ProtoReflect ¶
func (x *FeedResponse) ProtoReflect() protoreflect.Message
func (*FeedResponse) Reset ¶
func (x *FeedResponse) Reset()
func (*FeedResponse) Size ¶
func (x *FeedResponse) Size() (n int)
func (*FeedResponse) String ¶
func (x *FeedResponse) String() string
type GetFavoriteVideoInfoRequest ¶
type GetFavoriteVideoInfoRequest struct { VideoId []int64 `protobuf:"varint,1,rep,packed,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` //需要获取的video_id Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` //token // contains filtered or unexported fields }
func (*GetFavoriteVideoInfoRequest) Descriptor
deprecated
func (*GetFavoriteVideoInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFavoriteVideoInfoRequest.ProtoReflect.Descriptor instead.
func (*GetFavoriteVideoInfoRequest) FastWrite ¶
func (x *GetFavoriteVideoInfoRequest) FastWrite(buf []byte) (offset int)
func (*GetFavoriteVideoInfoRequest) GetToken ¶
func (x *GetFavoriteVideoInfoRequest) GetToken() string
func (*GetFavoriteVideoInfoRequest) GetVideoId ¶
func (x *GetFavoriteVideoInfoRequest) GetVideoId() []int64
func (*GetFavoriteVideoInfoRequest) ProtoMessage ¶
func (*GetFavoriteVideoInfoRequest) ProtoMessage()
func (*GetFavoriteVideoInfoRequest) ProtoReflect ¶
func (x *GetFavoriteVideoInfoRequest) ProtoReflect() protoreflect.Message
func (*GetFavoriteVideoInfoRequest) Reset ¶
func (x *GetFavoriteVideoInfoRequest) Reset()
func (*GetFavoriteVideoInfoRequest) Size ¶
func (x *GetFavoriteVideoInfoRequest) Size() (n int)
func (*GetFavoriteVideoInfoRequest) String ¶
func (x *GetFavoriteVideoInfoRequest) String() string
type GetFavoriteVideoInfoResponse ¶
type GetFavoriteVideoInfoResponse struct { Base *BaseResp `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` VideoList []*Video `protobuf:"bytes,2,rep,name=video_list,json=videoList,proto3" json:"video_list,omitempty"` //获取的video信息 // contains filtered or unexported fields }
func (*GetFavoriteVideoInfoResponse) Descriptor
deprecated
func (*GetFavoriteVideoInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFavoriteVideoInfoResponse.ProtoReflect.Descriptor instead.
func (*GetFavoriteVideoInfoResponse) FastWrite ¶
func (x *GetFavoriteVideoInfoResponse) FastWrite(buf []byte) (offset int)
func (*GetFavoriteVideoInfoResponse) GetBase ¶
func (x *GetFavoriteVideoInfoResponse) GetBase() *BaseResp
func (*GetFavoriteVideoInfoResponse) GetVideoList ¶
func (x *GetFavoriteVideoInfoResponse) GetVideoList() []*Video
func (*GetFavoriteVideoInfoResponse) ProtoMessage ¶
func (*GetFavoriteVideoInfoResponse) ProtoMessage()
func (*GetFavoriteVideoInfoResponse) ProtoReflect ¶
func (x *GetFavoriteVideoInfoResponse) ProtoReflect() protoreflect.Message
func (*GetFavoriteVideoInfoResponse) Reset ¶
func (x *GetFavoriteVideoInfoResponse) Reset()
func (*GetFavoriteVideoInfoResponse) Size ¶
func (x *GetFavoriteVideoInfoResponse) Size() (n int)
func (*GetFavoriteVideoInfoResponse) String ¶
func (x *GetFavoriteVideoInfoResponse) String() string
type GetPublishListRequest ¶
type GetPublishListRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetPublishListRequest) Descriptor
deprecated
func (*GetPublishListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPublishListRequest.ProtoReflect.Descriptor instead.
func (*GetPublishListRequest) FastWrite ¶
func (x *GetPublishListRequest) FastWrite(buf []byte) (offset int)
func (*GetPublishListRequest) GetToken ¶
func (x *GetPublishListRequest) GetToken() string
func (*GetPublishListRequest) GetUserId ¶
func (x *GetPublishListRequest) GetUserId() int64
func (*GetPublishListRequest) ProtoMessage ¶
func (*GetPublishListRequest) ProtoMessage()
func (*GetPublishListRequest) ProtoReflect ¶
func (x *GetPublishListRequest) ProtoReflect() protoreflect.Message
func (*GetPublishListRequest) Reset ¶
func (x *GetPublishListRequest) Reset()
func (*GetPublishListRequest) Size ¶
func (x *GetPublishListRequest) Size() (n int)
func (*GetPublishListRequest) String ¶
func (x *GetPublishListRequest) String() string
type GetPublishListResponse ¶
type GetPublishListResponse struct { Base *BaseResp `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` VideoList []*Video `protobuf:"bytes,2,rep,name=video_list,json=videoList,proto3" json:"video_list,omitempty"` // contains filtered or unexported fields }
func (*GetPublishListResponse) Descriptor
deprecated
func (*GetPublishListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPublishListResponse.ProtoReflect.Descriptor instead.
func (*GetPublishListResponse) FastWrite ¶
func (x *GetPublishListResponse) FastWrite(buf []byte) (offset int)
func (*GetPublishListResponse) GetBase ¶
func (x *GetPublishListResponse) GetBase() *BaseResp
func (*GetPublishListResponse) GetVideoList ¶
func (x *GetPublishListResponse) GetVideoList() []*Video
func (*GetPublishListResponse) ProtoMessage ¶
func (*GetPublishListResponse) ProtoMessage()
func (*GetPublishListResponse) ProtoReflect ¶
func (x *GetPublishListResponse) ProtoReflect() protoreflect.Message
func (*GetPublishListResponse) Reset ¶
func (x *GetPublishListResponse) Reset()
func (*GetPublishListResponse) Size ¶
func (x *GetPublishListResponse) Size() (n int)
func (*GetPublishListResponse) String ¶
func (x *GetPublishListResponse) String() string
type GetVideoIDByUidRequset ¶
type GetVideoIDByUidRequset struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetVideoIDByUidRequset) Descriptor
deprecated
func (*GetVideoIDByUidRequset) Descriptor() ([]byte, []int)
Deprecated: Use GetVideoIDByUidRequset.ProtoReflect.Descriptor instead.
func (*GetVideoIDByUidRequset) FastWrite ¶
func (x *GetVideoIDByUidRequset) FastWrite(buf []byte) (offset int)
func (*GetVideoIDByUidRequset) GetToken ¶
func (x *GetVideoIDByUidRequset) GetToken() string
func (*GetVideoIDByUidRequset) GetUserId ¶
func (x *GetVideoIDByUidRequset) GetUserId() int64
func (*GetVideoIDByUidRequset) ProtoMessage ¶
func (*GetVideoIDByUidRequset) ProtoMessage()
func (*GetVideoIDByUidRequset) ProtoReflect ¶
func (x *GetVideoIDByUidRequset) ProtoReflect() protoreflect.Message
func (*GetVideoIDByUidRequset) Reset ¶
func (x *GetVideoIDByUidRequset) Reset()
func (*GetVideoIDByUidRequset) Size ¶
func (x *GetVideoIDByUidRequset) Size() (n int)
func (*GetVideoIDByUidRequset) String ¶
func (x *GetVideoIDByUidRequset) String() string
type GetVideoIDByUidResponse ¶
type GetVideoIDByUidResponse struct { Base *BaseResp `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` VideoId []int64 `protobuf:"varint,2,rep,packed,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` // contains filtered or unexported fields }
func (*GetVideoIDByUidResponse) Descriptor
deprecated
func (*GetVideoIDByUidResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVideoIDByUidResponse.ProtoReflect.Descriptor instead.
func (*GetVideoIDByUidResponse) FastWrite ¶
func (x *GetVideoIDByUidResponse) FastWrite(buf []byte) (offset int)
func (*GetVideoIDByUidResponse) GetBase ¶
func (x *GetVideoIDByUidResponse) GetBase() *BaseResp
func (*GetVideoIDByUidResponse) GetVideoId ¶
func (x *GetVideoIDByUidResponse) GetVideoId() []int64
func (*GetVideoIDByUidResponse) ProtoMessage ¶
func (*GetVideoIDByUidResponse) ProtoMessage()
func (*GetVideoIDByUidResponse) ProtoReflect ¶
func (x *GetVideoIDByUidResponse) ProtoReflect() protoreflect.Message
func (*GetVideoIDByUidResponse) Reset ¶
func (x *GetVideoIDByUidResponse) Reset()
func (*GetVideoIDByUidResponse) Size ¶
func (x *GetVideoIDByUidResponse) Size() (n int)
func (*GetVideoIDByUidResponse) String ¶
func (x *GetVideoIDByUidResponse) String() string
type GetWorkCountRequest ¶
type GetWorkCountRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetWorkCountRequest) Descriptor
deprecated
func (*GetWorkCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWorkCountRequest.ProtoReflect.Descriptor instead.
func (*GetWorkCountRequest) FastWrite ¶
func (x *GetWorkCountRequest) FastWrite(buf []byte) (offset int)
func (*GetWorkCountRequest) GetToken ¶
func (x *GetWorkCountRequest) GetToken() string
func (*GetWorkCountRequest) GetUserId ¶
func (x *GetWorkCountRequest) GetUserId() int64
func (*GetWorkCountRequest) ProtoMessage ¶
func (*GetWorkCountRequest) ProtoMessage()
func (*GetWorkCountRequest) ProtoReflect ¶
func (x *GetWorkCountRequest) ProtoReflect() protoreflect.Message
func (*GetWorkCountRequest) Reset ¶
func (x *GetWorkCountRequest) Reset()
func (*GetWorkCountRequest) Size ¶
func (x *GetWorkCountRequest) Size() (n int)
func (*GetWorkCountRequest) String ¶
func (x *GetWorkCountRequest) String() string
type GetWorkCountResponse ¶
type GetWorkCountResponse struct { Base *BaseResp `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` WorkCount int64 `protobuf:"varint,2,opt,name=work_count,json=workCount,proto3" json:"work_count,omitempty"` // 作品数量 // contains filtered or unexported fields }
func (*GetWorkCountResponse) Descriptor
deprecated
func (*GetWorkCountResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetWorkCountResponse.ProtoReflect.Descriptor instead.
func (*GetWorkCountResponse) FastWrite ¶
func (x *GetWorkCountResponse) FastWrite(buf []byte) (offset int)
func (*GetWorkCountResponse) GetBase ¶
func (x *GetWorkCountResponse) GetBase() *BaseResp
func (*GetWorkCountResponse) GetWorkCount ¶
func (x *GetWorkCountResponse) GetWorkCount() int64
func (*GetWorkCountResponse) ProtoMessage ¶
func (*GetWorkCountResponse) ProtoMessage()
func (*GetWorkCountResponse) ProtoReflect ¶
func (x *GetWorkCountResponse) ProtoReflect() protoreflect.Message
func (*GetWorkCountResponse) Reset ¶
func (x *GetWorkCountResponse) Reset()
func (*GetWorkCountResponse) Size ¶
func (x *GetWorkCountResponse) Size() (n int)
func (*GetWorkCountResponse) String ¶
func (x *GetWorkCountResponse) String() string
type PutVideoRequest ¶
type PutVideoRequest struct { VideoFile []byte `protobuf:"bytes,1,opt,name=video_file,json=videoFile,proto3" json:"video_file,omitempty"` //视频文件 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` //视频标题 Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` //token // contains filtered or unexported fields }
func (*PutVideoRequest) Descriptor
deprecated
func (*PutVideoRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutVideoRequest.ProtoReflect.Descriptor instead.
func (*PutVideoRequest) FastWrite ¶
func (x *PutVideoRequest) FastWrite(buf []byte) (offset int)
func (*PutVideoRequest) GetTitle ¶
func (x *PutVideoRequest) GetTitle() string
func (*PutVideoRequest) GetToken ¶
func (x *PutVideoRequest) GetToken() string
func (*PutVideoRequest) GetVideoFile ¶
func (x *PutVideoRequest) GetVideoFile() []byte
func (*PutVideoRequest) ProtoMessage ¶
func (*PutVideoRequest) ProtoMessage()
func (*PutVideoRequest) ProtoReflect ¶
func (x *PutVideoRequest) ProtoReflect() protoreflect.Message
func (*PutVideoRequest) Reset ¶
func (x *PutVideoRequest) Reset()
func (*PutVideoRequest) Size ¶
func (x *PutVideoRequest) Size() (n int)
func (*PutVideoRequest) String ¶
func (x *PutVideoRequest) String() string
type PutVideoResponse ¶
type PutVideoResponse struct { Base *BaseResp `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` // contains filtered or unexported fields }
func (*PutVideoResponse) Descriptor
deprecated
func (*PutVideoResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutVideoResponse.ProtoReflect.Descriptor instead.
func (*PutVideoResponse) FastWrite ¶
func (x *PutVideoResponse) FastWrite(buf []byte) (offset int)
func (*PutVideoResponse) GetBase ¶
func (x *PutVideoResponse) GetBase() *BaseResp
func (*PutVideoResponse) ProtoMessage ¶
func (*PutVideoResponse) ProtoMessage()
func (*PutVideoResponse) ProtoReflect ¶
func (x *PutVideoResponse) ProtoReflect() protoreflect.Message
func (*PutVideoResponse) Reset ¶
func (x *PutVideoResponse) Reset()
func (*PutVideoResponse) Size ¶
func (x *PutVideoResponse) Size() (n int)
func (*PutVideoResponse) String ¶
func (x *PutVideoResponse) String() string
type User ¶
type User struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` FollowCount int64 `protobuf:"varint,3,opt,name=follow_count,json=followCount,proto3" json:"follow_count,omitempty"` FollowerCount int64 `protobuf:"varint,4,opt,name=follower_count,json=followerCount,proto3" json:"follower_count,omitempty"` IsFollow bool `protobuf:"varint,5,opt,name=is_follow,json=isFollow,proto3" json:"is_follow,omitempty"` Avatar string `protobuf:"bytes,6,opt,name=avatar,proto3" json:"avatar,omitempty"` BackgroundImage string `protobuf:"bytes,7,opt,name=background_image,json=backgroundImage,proto3" json:"background_image,omitempty"` Signature string `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"` TotalFavorited int64 `protobuf:"varint,9,opt,name=total_favorited,json=totalFavorited,proto3" json:"total_favorited,omitempty"` WorkCount int64 `protobuf:"varint,10,opt,name=work_count,json=workCount,proto3" json:"work_count,omitempty"` FavoriteCount int64 `protobuf:"varint,11,opt,name=favorite_count,json=favoriteCount,proto3" json:"favorite_count,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetBackgroundImage ¶
func (*User) GetFavoriteCount ¶
func (*User) GetFollowCount ¶
func (*User) GetFollowerCount ¶
func (*User) GetIsFollow ¶
func (*User) GetSignature ¶
func (*User) GetTotalFavorited ¶
func (*User) GetWorkCount ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type Video ¶
type Video struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Author *User `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"` PlayUrl string `protobuf:"bytes,3,opt,name=play_url,json=playUrl,proto3" json:"play_url,omitempty"` CoverUrl string `protobuf:"bytes,4,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"` FavoriteCount int64 `protobuf:"varint,5,opt,name=favorite_count,json=favoriteCount,proto3" json:"favorite_count,omitempty"` CommentCount int64 `protobuf:"varint,6,opt,name=comment_count,json=commentCount,proto3" json:"comment_count,omitempty"` IsFavorite bool `protobuf:"varint,7,opt,name=is_favorite,json=isFavorite,proto3" json:"is_favorite,omitempty"` Title string `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"` // contains filtered or unexported fields }
func (*Video) Descriptor
deprecated
func (*Video) GetCommentCount ¶
func (*Video) GetCoverUrl ¶
func (*Video) GetFavoriteCount ¶
func (*Video) GetIsFavorite ¶
func (*Video) GetPlayUrl ¶
func (*Video) ProtoMessage ¶
func (*Video) ProtoMessage()
func (*Video) ProtoReflect ¶
func (x *Video) ProtoReflect() protoreflect.Message
type VideoService ¶
type VideoService interface { Feed(ctx context.Context, req *FeedRequest) (res *FeedResponse, err error) PutVideo(ctx context.Context, req *PutVideoRequest) (res *PutVideoResponse, err error) GetFavoriteVideoInfo(ctx context.Context, req *GetFavoriteVideoInfoRequest) (res *GetFavoriteVideoInfoResponse, err error) GetPublishList(ctx context.Context, req *GetPublishListRequest) (res *GetPublishListResponse, err error) GetWorkCount(ctx context.Context, req *GetWorkCountRequest) (res *GetWorkCountResponse, err error) GetVideoIDByUid(ctx context.Context, req *GetVideoIDByUidRequset) (res *GetVideoIDByUidResponse, err error) }