Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterCollectionServiceServer(s grpc.ServiceRegistrar, srv CollectionServiceServer)
- func RegisterCommentServiceServer(s grpc.ServiceRegistrar, srv CommentServiceServer)
- func RegisterFollowServiceServer(s grpc.ServiceRegistrar, srv FollowServiceServer)
- func RegisterInterServiceServer(s grpc.ServiceRegistrar, srv InterServiceServer)
- func RegisterUserServiceHTTPServer(s *http.Server, srv UserServiceHTTPServer)
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- func RegisterVideoServiceHTTPServer(s *http.Server, srv VideoServiceHTTPServer)
- func RegisterVideoServiceServer(s grpc.ServiceRegistrar, srv VideoServiceServer)
- type AddFollowRequest
- func (*AddFollowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddFollowRequest) GetTargetUserId() int64
- func (x *AddFollowRequest) GetUserId() int64
- func (*AddFollowRequest) ProtoMessage()
- func (x *AddFollowRequest) ProtoReflect() protoreflect.Message
- func (x *AddFollowRequest) Reset()
- func (x *AddFollowRequest) String() string
- type AddFollowResponse
- type AddVideo2CollectionRequest
- func (*AddVideo2CollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddVideo2CollectionRequest) GetCollectionId() int64
- func (x *AddVideo2CollectionRequest) GetUserId() int64
- func (x *AddVideo2CollectionRequest) GetVideoId() int64
- func (*AddVideo2CollectionRequest) ProtoMessage()
- func (x *AddVideo2CollectionRequest) ProtoReflect() protoreflect.Message
- func (x *AddVideo2CollectionRequest) Reset()
- func (x *AddVideo2CollectionRequest) String() string
- type AddVideo2CollectionResponse
- func (*AddVideo2CollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddVideo2CollectionResponse) GetMeta() *Metadata
- func (*AddVideo2CollectionResponse) ProtoMessage()
- func (x *AddVideo2CollectionResponse) ProtoReflect() protoreflect.Message
- func (x *AddVideo2CollectionResponse) Reset()
- func (x *AddVideo2CollectionResponse) String() string
- type Author
- func (*Author) Descriptor() ([]byte, []int)deprecated
- func (x *Author) GetAvatar() string
- func (x *Author) GetId() int64
- func (x *Author) GetIsFollowing() int64
- func (x *Author) GetName() string
- func (*Author) ProtoMessage()
- func (x *Author) ProtoReflect() protoreflect.Message
- func (x *Author) Reset()
- func (x *Author) String() string
- type CancelCollectRequest
- func (*CancelCollectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelCollectRequest) GetBiz() string
- func (x *CancelCollectRequest) GetBizId() int64
- func (x *CancelCollectRequest) GetCollectionId() int64
- func (x *CancelCollectRequest) GetUserId() int64
- func (*CancelCollectRequest) ProtoMessage()
- func (x *CancelCollectRequest) ProtoReflect() protoreflect.Message
- func (x *CancelCollectRequest) Reset()
- func (x *CancelCollectRequest) String() string
- type CancelCollectResponse
- func (*CancelCollectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CancelCollectResponse) GetMeta() *Metadata
- func (*CancelCollectResponse) ProtoMessage()
- func (x *CancelCollectResponse) ProtoReflect() protoreflect.Message
- func (x *CancelCollectResponse) Reset()
- func (x *CancelCollectResponse) String() string
- type CancelLikeRequest
- func (*CancelLikeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelLikeRequest) GetBiz() string
- func (x *CancelLikeRequest) GetBizId() int64
- func (x *CancelLikeRequest) GetUserId() int64
- func (*CancelLikeRequest) ProtoMessage()
- func (x *CancelLikeRequest) ProtoReflect() protoreflect.Message
- func (x *CancelLikeRequest) Reset()
- func (x *CancelLikeRequest) String() string
- type CancelLikeResponse
- func (*CancelLikeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CancelLikeResponse) GetMeta() *Metadata
- func (*CancelLikeResponse) ProtoMessage()
- func (x *CancelLikeResponse) ProtoReflect() protoreflect.Message
- func (x *CancelLikeResponse) Reset()
- func (x *CancelLikeResponse) String() string
- type CollectRequest
- func (*CollectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CollectRequest) GetBiz() string
- func (x *CollectRequest) GetBizId() int64
- func (x *CollectRequest) GetCollectionId() int64
- func (x *CollectRequest) GetUserId() int64
- func (*CollectRequest) ProtoMessage()
- func (x *CollectRequest) ProtoReflect() protoreflect.Message
- func (x *CollectRequest) Reset()
- func (x *CollectRequest) String() string
- type CollectResponse
- type Collection
- func (*Collection) Descriptor() ([]byte, []int)deprecated
- func (x *Collection) GetDescription() string
- func (x *Collection) GetId() int64
- func (x *Collection) GetName() string
- func (x *Collection) GetUserId() int64
- func (*Collection) ProtoMessage()
- func (x *Collection) ProtoReflect() protoreflect.Message
- func (x *Collection) Reset()
- func (x *Collection) String() string
- type CollectionServiceClient
- type CollectionServiceServer
- type Comment
- func (*Comment) Descriptor() ([]byte, []int)deprecated
- func (x *Comment) GetComments() []*Comment
- func (x *Comment) GetContent() string
- func (x *Comment) GetDate() string
- func (x *Comment) GetId() int64
- func (x *Comment) GetLikeCount() string
- func (x *Comment) GetParentId() int64
- func (x *Comment) GetReplyCount() string
- func (x *Comment) GetReplyUserId() int64
- func (x *Comment) GetUserId() int64
- func (x *Comment) GetVideoId() int64
- func (*Comment) ProtoMessage()
- func (x *Comment) ProtoReflect() protoreflect.Message
- func (x *Comment) Reset()
- func (x *Comment) String() string
- type CommentServiceClient
- type CommentServiceServer
- type CountCollect4VideoRequest
- func (*CountCollect4VideoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CountCollect4VideoRequest) GetVideoIdList() []int64
- func (*CountCollect4VideoRequest) ProtoMessage()
- func (x *CountCollect4VideoRequest) ProtoReflect() protoreflect.Message
- func (x *CountCollect4VideoRequest) Reset()
- func (x *CountCollect4VideoRequest) String() string
- type CountCollect4VideoResponse
- func (*CountCollect4VideoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CountCollect4VideoResponse) GetCountResult() []*CountCollect4VideoResult
- func (x *CountCollect4VideoResponse) GetMeta() *Metadata
- func (*CountCollect4VideoResponse) ProtoMessage()
- func (x *CountCollect4VideoResponse) ProtoReflect() protoreflect.Message
- func (x *CountCollect4VideoResponse) Reset()
- func (x *CountCollect4VideoResponse) String() string
- type CountCollect4VideoResult
- func (*CountCollect4VideoResult) Descriptor() ([]byte, []int)deprecated
- func (x *CountCollect4VideoResult) GetCount() int64
- func (x *CountCollect4VideoResult) GetId() int64
- func (*CountCollect4VideoResult) ProtoMessage()
- func (x *CountCollect4VideoResult) ProtoReflect() protoreflect.Message
- func (x *CountCollect4VideoResult) Reset()
- func (x *CountCollect4VideoResult) String() string
- type CountComment4UserRequest
- func (*CountComment4UserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CountComment4UserRequest) GetUserId() []int64
- func (*CountComment4UserRequest) ProtoMessage()
- func (x *CountComment4UserRequest) ProtoReflect() protoreflect.Message
- func (x *CountComment4UserRequest) Reset()
- func (x *CountComment4UserRequest) String() string
- type CountComment4UserResponse
- func (*CountComment4UserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CountComment4UserResponse) GetMeta() *Metadata
- func (x *CountComment4UserResponse) GetResults() []*CountResult
- func (*CountComment4UserResponse) ProtoMessage()
- func (x *CountComment4UserResponse) ProtoReflect() protoreflect.Message
- func (x *CountComment4UserResponse) Reset()
- func (x *CountComment4UserResponse) String() string
- type CountComment4VideoRequest
- func (*CountComment4VideoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CountComment4VideoRequest) GetVideoId() []int64
- func (*CountComment4VideoRequest) ProtoMessage()
- func (x *CountComment4VideoRequest) ProtoReflect() protoreflect.Message
- func (x *CountComment4VideoRequest) Reset()
- func (x *CountComment4VideoRequest) String() string
- type CountComment4VideoResponse
- func (*CountComment4VideoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CountComment4VideoResponse) GetMeta() *Metadata
- func (x *CountComment4VideoResponse) GetResults() []*CountResult
- func (*CountComment4VideoResponse) ProtoMessage()
- func (x *CountComment4VideoResponse) ProtoReflect() protoreflect.Message
- func (x *CountComment4VideoResponse) Reset()
- func (x *CountComment4VideoResponse) String() string
- type CountFollowRequest
- func (*CountFollowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CountFollowRequest) GetUserId() int64
- func (*CountFollowRequest) ProtoMessage()
- func (x *CountFollowRequest) ProtoReflect() protoreflect.Message
- func (x *CountFollowRequest) Reset()
- func (x *CountFollowRequest) String() string
- type CountFollowResponse
- func (*CountFollowResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CountFollowResponse) GetFollowerCount() int64
- func (x *CountFollowResponse) GetFollowingCount() int64
- func (x *CountFollowResponse) GetMeta() *Metadata
- func (*CountFollowResponse) ProtoMessage()
- func (x *CountFollowResponse) ProtoReflect() protoreflect.Message
- func (x *CountFollowResponse) Reset()
- func (x *CountFollowResponse) String() string
- type CountResult
- type CreateCollectionRequest
- func (*CreateCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCollectionRequest) GetDescription() string
- func (x *CreateCollectionRequest) GetName() string
- func (x *CreateCollectionRequest) GetUserId() int64
- func (*CreateCollectionRequest) ProtoMessage()
- func (x *CreateCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCollectionRequest) Reset()
- func (x *CreateCollectionRequest) String() string
- type CreateCollectionResponse
- func (*CreateCollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCollectionResponse) GetMeta() *Metadata
- func (*CreateCollectionResponse) ProtoMessage()
- func (x *CreateCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCollectionResponse) Reset()
- func (x *CreateCollectionResponse) String() string
- type CreateCommentRequest
- func (*CreateCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCommentRequest) GetContent() string
- func (x *CreateCommentRequest) GetParentId() int64
- func (x *CreateCommentRequest) GetReplyUserId() int64
- func (x *CreateCommentRequest) GetUserId() int64
- func (x *CreateCommentRequest) GetVideoId() int64
- func (*CreateCommentRequest) ProtoMessage()
- func (x *CreateCommentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCommentRequest) Reset()
- func (x *CreateCommentRequest) String() string
- type CreateCommentResponse
- func (*CreateCommentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCommentResponse) GetComment() *Comment
- func (x *CreateCommentResponse) GetMeta() *Metadata
- func (*CreateCommentResponse) ProtoMessage()
- func (x *CreateCommentResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCommentResponse) Reset()
- func (x *CreateCommentResponse) String() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetAccountId() int64
- func (x *CreateUserRequest) GetEmail() string
- func (x *CreateUserRequest) GetMobile() string
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- type CreateUserResponse
- func (*CreateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserResponse) GetMeta() *Metadata
- func (x *CreateUserResponse) GetUserId() int64
- func (*CreateUserResponse) ProtoMessage()
- func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserResponse) Reset()
- func (x *CreateUserResponse) String() string
- type FeedShortVideoRequest
- func (*FeedShortVideoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FeedShortVideoRequest) GetFeedNum() int64
- func (x *FeedShortVideoRequest) GetLatestTime() int64
- func (x *FeedShortVideoRequest) GetUserId() int64
- func (*FeedShortVideoRequest) ProtoMessage()
- func (x *FeedShortVideoRequest) ProtoReflect() protoreflect.Message
- func (x *FeedShortVideoRequest) Reset()
- func (x *FeedShortVideoRequest) String() string
- type FeedShortVideoResponse
- func (*FeedShortVideoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FeedShortVideoResponse) GetMeta() *Metadata
- func (x *FeedShortVideoResponse) GetVideos() []*Video
- func (*FeedShortVideoResponse) ProtoMessage()
- func (x *FeedShortVideoResponse) ProtoReflect() protoreflect.Message
- func (x *FeedShortVideoResponse) Reset()
- func (x *FeedShortVideoResponse) String() string
- type FollowServiceClient
- type FollowServiceServer
- type FollowType
- type GetCollectionByIdRequest
- func (*GetCollectionByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCollectionByIdRequest) GetId() int64
- func (*GetCollectionByIdRequest) ProtoMessage()
- func (x *GetCollectionByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetCollectionByIdRequest) Reset()
- func (x *GetCollectionByIdRequest) String() string
- type GetCollectionByIdResponse
- func (*GetCollectionByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCollectionByIdResponse) GetCollection() *Collection
- func (x *GetCollectionByIdResponse) GetMeta() *Metadata
- func (*GetCollectionByIdResponse) ProtoMessage()
- func (x *GetCollectionByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetCollectionByIdResponse) Reset()
- func (x *GetCollectionByIdResponse) String() string
- type GetCommentByIdRequest
- func (*GetCommentByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommentByIdRequest) GetCommentId() int64
- func (*GetCommentByIdRequest) ProtoMessage()
- func (x *GetCommentByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetCommentByIdRequest) Reset()
- func (x *GetCommentByIdRequest) String() string
- type GetCommentByIdResponse
- func (*GetCommentByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommentByIdResponse) GetComment() *Comment
- func (x *GetCommentByIdResponse) GetMeta() *Metadata
- func (*GetCommentByIdResponse) ProtoMessage()
- func (x *GetCommentByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetCommentByIdResponse) Reset()
- func (x *GetCommentByIdResponse) String() string
- type GetUserByIdListRequest
- func (*GetUserByIdListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByIdListRequest) GetUserIdList() []int64
- func (*GetUserByIdListRequest) ProtoMessage()
- func (x *GetUserByIdListRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserByIdListRequest) Reset()
- func (x *GetUserByIdListRequest) String() string
- type GetUserByIdListResponse
- func (*GetUserByIdListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByIdListResponse) GetMeta() *Metadata
- func (x *GetUserByIdListResponse) GetUserList() []*User
- func (*GetUserByIdListResponse) ProtoMessage()
- func (x *GetUserByIdListResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserByIdListResponse) Reset()
- func (x *GetUserByIdListResponse) String() string
- type GetUserInfoRequest
- func (*GetUserInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserInfoRequest) GetAccountId() int64
- func (x *GetUserInfoRequest) GetUserId() int64
- func (*GetUserInfoRequest) ProtoMessage()
- func (x *GetUserInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserInfoRequest) Reset()
- func (x *GetUserInfoRequest) String() string
- type GetUserInfoResponse
- func (*GetUserInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserInfoResponse) GetMeta() *Metadata
- func (x *GetUserInfoResponse) GetUser() *User
- func (*GetUserInfoResponse) ProtoMessage()
- func (x *GetUserInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserInfoResponse) Reset()
- func (x *GetUserInfoResponse) String() string
- type GetVideoByIdListRequest
- func (*GetVideoByIdListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetVideoByIdListRequest) GetVideoIdList() []int64
- func (*GetVideoByIdListRequest) ProtoMessage()
- func (x *GetVideoByIdListRequest) ProtoReflect() protoreflect.Message
- func (x *GetVideoByIdListRequest) Reset()
- func (x *GetVideoByIdListRequest) String() string
- type GetVideoByIdListResponse
- func (*GetVideoByIdListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVideoByIdListResponse) GetMeta() *Metadata
- func (x *GetVideoByIdListResponse) GetVideos() []*Video
- func (*GetVideoByIdListResponse) ProtoMessage()
- func (x *GetVideoByIdListResponse) ProtoReflect() protoreflect.Message
- func (x *GetVideoByIdListResponse) Reset()
- func (x *GetVideoByIdListResponse) String() string
- type GetVideoByIdRequest
- func (*GetVideoByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetVideoByIdRequest) GetVideoId() int64
- func (*GetVideoByIdRequest) ProtoMessage()
- func (x *GetVideoByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetVideoByIdRequest) Reset()
- func (x *GetVideoByIdRequest) String() string
- type GetVideoByIdResponse
- func (*GetVideoByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVideoByIdResponse) GetMeta() *Metadata
- func (x *GetVideoByIdResponse) GetVideo() *Video
- func (*GetVideoByIdResponse) ProtoMessage()
- func (x *GetVideoByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetVideoByIdResponse) Reset()
- func (x *GetVideoByIdResponse) String() string
- type IncrReadCountRequest
- func (*IncrReadCountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IncrReadCountRequest) GetBiz() string
- func (x *IncrReadCountRequest) GetBizId() int64
- func (*IncrReadCountRequest) ProtoMessage()
- func (x *IncrReadCountRequest) ProtoReflect() protoreflect.Message
- func (x *IncrReadCountRequest) Reset()
- func (x *IncrReadCountRequest) String() string
- type IncrReadCountResponse
- func (*IncrReadCountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IncrReadCountResponse) GetMeta() *Metadata
- func (*IncrReadCountResponse) ProtoMessage()
- func (x *IncrReadCountResponse) ProtoReflect() protoreflect.Message
- func (x *IncrReadCountResponse) Reset()
- func (x *IncrReadCountResponse) String() string
- type InterServiceClient
- type InterServiceServer
- type IsCollectedRequest
- func (*IsCollectedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsCollectedRequest) GetUserId() int64
- func (x *IsCollectedRequest) GetVideoIdList() []int64
- func (*IsCollectedRequest) ProtoMessage()
- func (x *IsCollectedRequest) ProtoReflect() protoreflect.Message
- func (x *IsCollectedRequest) Reset()
- func (x *IsCollectedRequest) String() string
- type IsCollectedResponse
- func (*IsCollectedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsCollectedResponse) GetMeta() *Metadata
- func (x *IsCollectedResponse) GetVideoIdList() []int64
- func (*IsCollectedResponse) ProtoMessage()
- func (x *IsCollectedResponse) ProtoReflect() protoreflect.Message
- func (x *IsCollectedResponse) Reset()
- func (x *IsCollectedResponse) String() string
- type IsFollowingRequest
- func (*IsFollowingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsFollowingRequest) GetTargetUserIdList() []int64
- func (x *IsFollowingRequest) GetUserId() int64
- func (*IsFollowingRequest) ProtoMessage()
- func (x *IsFollowingRequest) ProtoReflect() protoreflect.Message
- func (x *IsFollowingRequest) Reset()
- func (x *IsFollowingRequest) String() string
- type IsFollowingResponse
- func (*IsFollowingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsFollowingResponse) GetFollowingList() []int64
- func (x *IsFollowingResponse) GetMeta() *Metadata
- func (*IsFollowingResponse) ProtoMessage()
- func (x *IsFollowingResponse) ProtoReflect() protoreflect.Message
- func (x *IsFollowingResponse) Reset()
- func (x *IsFollowingResponse) String() string
- type LikeRequest
- func (*LikeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LikeRequest) GetBiz() string
- func (x *LikeRequest) GetBizId() int64
- func (x *LikeRequest) GetUserId() int64
- func (*LikeRequest) ProtoMessage()
- func (x *LikeRequest) ProtoReflect() protoreflect.Message
- func (x *LikeRequest) Reset()
- func (x *LikeRequest) String() string
- type LikeResponse
- type ListChildComment4CommentRequest
- func (*ListChildComment4CommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListChildComment4CommentRequest) GetCommentId() int64
- func (x *ListChildComment4CommentRequest) GetPagination() *PaginationRequest
- func (*ListChildComment4CommentRequest) ProtoMessage()
- func (x *ListChildComment4CommentRequest) ProtoReflect() protoreflect.Message
- func (x *ListChildComment4CommentRequest) Reset()
- func (x *ListChildComment4CommentRequest) String() string
- type ListChildComment4CommentResponse
- func (*ListChildComment4CommentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListChildComment4CommentResponse) GetComments() []*Comment
- func (x *ListChildComment4CommentResponse) GetMeta() *Metadata
- func (x *ListChildComment4CommentResponse) GetPagination() *PaginationResponse
- func (*ListChildComment4CommentResponse) ProtoMessage()
- func (x *ListChildComment4CommentResponse) ProtoReflect() protoreflect.Message
- func (x *ListChildComment4CommentResponse) Reset()
- func (x *ListChildComment4CommentResponse) String() string
- type ListCollectionRequest
- func (*ListCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCollectionRequest) GetPagination() *PaginationRequest
- func (x *ListCollectionRequest) GetUserId() int64
- func (*ListCollectionRequest) ProtoMessage()
- func (x *ListCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *ListCollectionRequest) Reset()
- func (x *ListCollectionRequest) String() string
- type ListCollectionResponse
- func (*ListCollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCollectionResponse) GetCollections() []*Collection
- func (x *ListCollectionResponse) GetMeta() *Metadata
- func (x *ListCollectionResponse) GetPagination() *PaginationResponse
- func (*ListCollectionResponse) ProtoMessage()
- func (x *ListCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *ListCollectionResponse) Reset()
- func (x *ListCollectionResponse) String() string
- type ListCollectionVideoRequest
- func (*ListCollectionVideoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCollectionVideoRequest) GetCollectionId() int64
- func (x *ListCollectionVideoRequest) GetPagination() *PaginationRequest
- func (*ListCollectionVideoRequest) ProtoMessage()
- func (x *ListCollectionVideoRequest) ProtoReflect() protoreflect.Message
- func (x *ListCollectionVideoRequest) Reset()
- func (x *ListCollectionVideoRequest) String() string
- type ListCollectionVideoResponse
- func (*ListCollectionVideoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCollectionVideoResponse) GetMeta() *Metadata
- func (x *ListCollectionVideoResponse) GetPagination() *PaginationResponse
- func (x *ListCollectionVideoResponse) GetVideoIdList() []int64
- func (*ListCollectionVideoResponse) ProtoMessage()
- func (x *ListCollectionVideoResponse) ProtoReflect() protoreflect.Message
- func (x *ListCollectionVideoResponse) Reset()
- func (x *ListCollectionVideoResponse) String() string
- type ListComment4VideoRequest
- func (*ListComment4VideoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListComment4VideoRequest) GetPagination() *PaginationRequest
- func (x *ListComment4VideoRequest) GetVideoId() int64
- func (*ListComment4VideoRequest) ProtoMessage()
- func (x *ListComment4VideoRequest) ProtoReflect() protoreflect.Message
- func (x *ListComment4VideoRequest) Reset()
- func (x *ListComment4VideoRequest) String() string
- type ListComment4VideoResponse
- func (*ListComment4VideoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListComment4VideoResponse) GetComments() []*Comment
- func (x *ListComment4VideoResponse) GetMeta() *Metadata
- func (x *ListComment4VideoResponse) GetPagination() *PaginationResponse
- func (*ListComment4VideoResponse) ProtoMessage()
- func (x *ListComment4VideoResponse) ProtoReflect() protoreflect.Message
- func (x *ListComment4VideoResponse) Reset()
- func (x *ListComment4VideoResponse) String() string
- type ListFollowingRequest
- func (*ListFollowingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFollowingRequest) GetFollowType() FollowType
- func (x *ListFollowingRequest) GetPagination() *PaginationRequest
- func (x *ListFollowingRequest) GetUserId() int64
- func (*ListFollowingRequest) ProtoMessage()
- func (x *ListFollowingRequest) ProtoReflect() protoreflect.Message
- func (x *ListFollowingRequest) Reset()
- func (x *ListFollowingRequest) String() string
- type ListFollowingResponse
- func (*ListFollowingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFollowingResponse) GetMeta() *Metadata
- func (x *ListFollowingResponse) GetPagination() *PaginationResponse
- func (x *ListFollowingResponse) GetUserIdList() []int64
- func (*ListFollowingResponse) ProtoMessage()
- func (x *ListFollowingResponse) ProtoReflect() protoreflect.Message
- func (x *ListFollowingResponse) Reset()
- func (x *ListFollowingResponse) String() string
- type ListPublishedVideoRequest
- func (*ListPublishedVideoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPublishedVideoRequest) GetLatestTime() int64
- func (x *ListPublishedVideoRequest) GetPagination() *PaginationRequest
- func (x *ListPublishedVideoRequest) GetUserId() int64
- func (*ListPublishedVideoRequest) ProtoMessage()
- func (x *ListPublishedVideoRequest) ProtoReflect() protoreflect.Message
- func (x *ListPublishedVideoRequest) Reset()
- func (x *ListPublishedVideoRequest) String() string
- type ListPublishedVideoResponse
- func (*ListPublishedVideoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPublishedVideoResponse) GetMeta() *Metadata
- func (x *ListPublishedVideoResponse) GetPagination() *PaginationResponse
- func (x *ListPublishedVideoResponse) GetVideos() []*Video
- func (*ListPublishedVideoResponse) ProtoMessage()
- func (x *ListPublishedVideoResponse) ProtoReflect() protoreflect.Message
- func (x *ListPublishedVideoResponse) Reset()
- func (x *ListPublishedVideoResponse) String() string
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetBizCode() int32
- func (x *Metadata) GetDomain() string
- func (x *Metadata) GetMessage() string
- func (x *Metadata) GetReason() []string
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type PaginationRequest
- func (*PaginationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationRequest) GetPage() int32
- func (x *PaginationRequest) GetSize() int32
- func (x *PaginationRequest) GetSort() []*SortField
- func (*PaginationRequest) ProtoMessage()
- func (x *PaginationRequest) ProtoReflect() protoreflect.Message
- func (x *PaginationRequest) Reset()
- func (x *PaginationRequest) String() string
- type PaginationResponse
- func (*PaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationResponse) GetCount() int32
- func (x *PaginationResponse) GetPage() int32
- func (x *PaginationResponse) GetTotal() int32
- func (*PaginationResponse) ProtoMessage()
- func (x *PaginationResponse) ProtoReflect() protoreflect.Message
- func (x *PaginationResponse) Reset()
- func (x *PaginationResponse) String() string
- type PublishVideoRequest
- func (*PublishVideoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishVideoRequest) GetCoverUrl() string
- func (x *PublishVideoRequest) GetDescription() string
- func (x *PublishVideoRequest) GetPlayUrl() string
- func (x *PublishVideoRequest) GetTitle() string
- func (x *PublishVideoRequest) GetUserId() int64
- func (*PublishVideoRequest) ProtoMessage()
- func (x *PublishVideoRequest) ProtoReflect() protoreflect.Message
- func (x *PublishVideoRequest) Reset()
- func (x *PublishVideoRequest) String() string
- type PublishVideoResponse
- func (*PublishVideoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PublishVideoResponse) GetMeta() *Metadata
- func (x *PublishVideoResponse) GetVideoId() int64
- func (*PublishVideoResponse) ProtoMessage()
- func (x *PublishVideoResponse) ProtoReflect() protoreflect.Message
- func (x *PublishVideoResponse) Reset()
- func (x *PublishVideoResponse) String() string
- type RemoveCollectionRequest
- func (*RemoveCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveCollectionRequest) GetId() int64
- func (*RemoveCollectionRequest) ProtoMessage()
- func (x *RemoveCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveCollectionRequest) Reset()
- func (x *RemoveCollectionRequest) String() string
- type RemoveCollectionResponse
- func (*RemoveCollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveCollectionResponse) GetMeta() *Metadata
- func (*RemoveCollectionResponse) ProtoMessage()
- func (x *RemoveCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveCollectionResponse) Reset()
- func (x *RemoveCollectionResponse) String() string
- type RemoveCommentRequest
- func (*RemoveCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveCommentRequest) GetCommentId() int64
- func (x *RemoveCommentRequest) GetUserId() int64
- func (*RemoveCommentRequest) ProtoMessage()
- func (x *RemoveCommentRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveCommentRequest) Reset()
- func (x *RemoveCommentRequest) String() string
- type RemoveCommentResponse
- func (*RemoveCommentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveCommentResponse) GetMeta() *Metadata
- func (*RemoveCommentResponse) ProtoMessage()
- func (x *RemoveCommentResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveCommentResponse) Reset()
- func (x *RemoveCommentResponse) String() string
- type RemoveFollowRequest
- func (*RemoveFollowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveFollowRequest) GetTargetUserId() int64
- func (x *RemoveFollowRequest) GetUserId() int64
- func (*RemoveFollowRequest) ProtoMessage()
- func (x *RemoveFollowRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveFollowRequest) Reset()
- func (x *RemoveFollowRequest) String() string
- type RemoveFollowResponse
- func (*RemoveFollowResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveFollowResponse) GetMeta() *Metadata
- func (*RemoveFollowResponse) ProtoMessage()
- func (x *RemoveFollowResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveFollowResponse) Reset()
- func (x *RemoveFollowResponse) String() string
- type RemoveVideoFromCollectionRequest
- func (*RemoveVideoFromCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveVideoFromCollectionRequest) GetCollectionId() int64
- func (x *RemoveVideoFromCollectionRequest) GetUserId() int64
- func (x *RemoveVideoFromCollectionRequest) GetVideoId() int64
- func (*RemoveVideoFromCollectionRequest) ProtoMessage()
- func (x *RemoveVideoFromCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveVideoFromCollectionRequest) Reset()
- func (x *RemoveVideoFromCollectionRequest) String() string
- type RemoveVideoFromCollectionResponse
- func (*RemoveVideoFromCollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveVideoFromCollectionResponse) GetMeta() *Metadata
- func (*RemoveVideoFromCollectionResponse) ProtoMessage()
- func (x *RemoveVideoFromCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveVideoFromCollectionResponse) Reset()
- func (x *RemoveVideoFromCollectionResponse) String() string
- type SearchField
- func (*SearchField) Descriptor() ([]byte, []int)deprecated
- func (x *SearchField) GetField() string
- func (x *SearchField) GetOperator() SearchOperator
- func (x *SearchField) GetValue() string
- func (x *SearchField) GetValueList() []string
- func (*SearchField) ProtoMessage()
- func (x *SearchField) ProtoReflect() protoreflect.Message
- func (x *SearchField) Reset()
- func (x *SearchField) String() string
- type SearchOperator
- func (SearchOperator) Descriptor() protoreflect.EnumDescriptor
- func (x SearchOperator) Enum() *SearchOperator
- func (SearchOperator) EnumDescriptor() ([]byte, []int)deprecated
- func (x SearchOperator) Number() protoreflect.EnumNumber
- func (x SearchOperator) String() string
- func (SearchOperator) Type() protoreflect.EnumType
- type SearchRequest
- type SortField
- type SortOrder
- type StatRequest
- func (*StatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatRequest) GetBiz() string
- func (x *StatRequest) GetBizId() int64
- func (x *StatRequest) GetUserId() int64
- func (*StatRequest) ProtoMessage()
- func (x *StatRequest) ProtoReflect() protoreflect.Message
- func (x *StatRequest) Reset()
- func (x *StatRequest) String() string
- type StatResponse
- func (*StatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatResponse) GetCollectCnt() int64
- func (x *StatResponse) GetIsCollect() bool
- func (x *StatResponse) GetIsLike() bool
- func (x *StatResponse) GetLikeCnt() int64
- func (x *StatResponse) GetMeta() *Metadata
- func (x *StatResponse) GetReadCnt() int64
- func (*StatResponse) ProtoMessage()
- func (x *StatResponse) ProtoReflect() protoreflect.Message
- func (x *StatResponse) Reset()
- func (x *StatResponse) String() string
- type UnimplementedCollectionServiceServer
- func (UnimplementedCollectionServiceServer) AddVideo2Collection(context.Context, *AddVideo2CollectionRequest) (*AddVideo2CollectionResponse, error)
- func (UnimplementedCollectionServiceServer) CountCollect4Video(context.Context, *CountCollect4VideoRequest) (*CountCollect4VideoResponse, error)
- func (UnimplementedCollectionServiceServer) CreateCollection(context.Context, *CreateCollectionRequest) (*CreateCollectionResponse, error)
- func (UnimplementedCollectionServiceServer) GetCollectionById(context.Context, *GetCollectionByIdRequest) (*GetCollectionByIdResponse, error)
- func (UnimplementedCollectionServiceServer) IsCollected(context.Context, *IsCollectedRequest) (*IsCollectedResponse, error)
- func (UnimplementedCollectionServiceServer) ListCollection(context.Context, *ListCollectionRequest) (*ListCollectionResponse, error)
- func (UnimplementedCollectionServiceServer) ListCollectionVideo(context.Context, *ListCollectionVideoRequest) (*ListCollectionVideoResponse, error)
- func (UnimplementedCollectionServiceServer) RemoveCollection(context.Context, *RemoveCollectionRequest) (*RemoveCollectionResponse, error)
- func (UnimplementedCollectionServiceServer) RemoveVideoFromCollection(context.Context, *RemoveVideoFromCollectionRequest) (*RemoveVideoFromCollectionResponse, error)
- func (UnimplementedCollectionServiceServer) UpdateCollection(context.Context, *UpdateCollectionRequest) (*UpdateCollectionResponse, error)
- type UnimplementedCommentServiceServer
- func (UnimplementedCommentServiceServer) CountComment4User(context.Context, *CountComment4UserRequest) (*CountComment4UserResponse, error)
- func (UnimplementedCommentServiceServer) CountComment4Video(context.Context, *CountComment4VideoRequest) (*CountComment4VideoResponse, error)
- func (UnimplementedCommentServiceServer) CreateComment(context.Context, *CreateCommentRequest) (*CreateCommentResponse, error)
- func (UnimplementedCommentServiceServer) GetCommentById(context.Context, *GetCommentByIdRequest) (*GetCommentByIdResponse, error)
- func (UnimplementedCommentServiceServer) ListChildComment4Comment(context.Context, *ListChildComment4CommentRequest) (*ListChildComment4CommentResponse, error)
- func (UnimplementedCommentServiceServer) ListComment4Video(context.Context, *ListComment4VideoRequest) (*ListComment4VideoResponse, error)
- func (UnimplementedCommentServiceServer) RemoveComment(context.Context, *RemoveCommentRequest) (*RemoveCommentResponse, error)
- type UnimplementedFollowServiceServer
- func (UnimplementedFollowServiceServer) AddFollow(context.Context, *AddFollowRequest) (*AddFollowResponse, error)
- func (UnimplementedFollowServiceServer) CountFollow(context.Context, *CountFollowRequest) (*CountFollowResponse, error)
- func (UnimplementedFollowServiceServer) IsFollowing(context.Context, *IsFollowingRequest) (*IsFollowingResponse, error)
- func (UnimplementedFollowServiceServer) ListFollowing(context.Context, *ListFollowingRequest) (*ListFollowingResponse, error)
- func (UnimplementedFollowServiceServer) RemoveFollow(context.Context, *RemoveFollowRequest) (*RemoveFollowResponse, error)
- type UnimplementedInterServiceServer
- func (UnimplementedInterServiceServer) CancelCollect(context.Context, *CancelCollectRequest) (*CancelCollectResponse, error)
- func (UnimplementedInterServiceServer) CancelLike(context.Context, *CancelLikeRequest) (*CancelLikeResponse, error)
- func (UnimplementedInterServiceServer) Collect(context.Context, *CollectRequest) (*CollectResponse, error)
- func (UnimplementedInterServiceServer) IncrReadCount(context.Context, *IncrReadCountRequest) (*IncrReadCountResponse, error)
- func (UnimplementedInterServiceServer) Like(context.Context, *LikeRequest) (*LikeResponse, error)
- func (UnimplementedInterServiceServer) Stat(context.Context, *StatRequest) (*StatResponse, error)
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
- func (UnimplementedUserServiceServer) GetUserByIdList(context.Context, *GetUserByIdListRequest) (*GetUserByIdListResponse, error)
- func (UnimplementedUserServiceServer) GetUserInfo(context.Context, *GetUserInfoRequest) (*GetUserInfoResponse, error)
- func (UnimplementedUserServiceServer) UpdateUserInfo(context.Context, *UpdateUserInfoRequest) (*UpdateUserInfoResponse, error)
- type UnimplementedVideoServiceServer
- func (UnimplementedVideoServiceServer) FeedShortVideo(context.Context, *FeedShortVideoRequest) (*FeedShortVideoResponse, error)
- func (UnimplementedVideoServiceServer) GetVideoById(context.Context, *GetVideoByIdRequest) (*GetVideoByIdResponse, error)
- func (UnimplementedVideoServiceServer) GetVideoByIdList(context.Context, *GetVideoByIdListRequest) (*GetVideoByIdListResponse, error)
- func (UnimplementedVideoServiceServer) ListPublishedVideo(context.Context, *ListPublishedVideoRequest) (*ListPublishedVideoResponse, error)
- func (UnimplementedVideoServiceServer) PublishVideo(context.Context, *PublishVideoRequest) (*PublishVideoResponse, error)
- type UnsafeCollectionServiceServer
- type UnsafeCommentServiceServer
- type UnsafeFollowServiceServer
- type UnsafeInterServiceServer
- type UnsafeUserServiceServer
- type UnsafeVideoServiceServer
- type UpdateCollectionRequest
- func (*UpdateCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCollectionRequest) GetDescription() string
- func (x *UpdateCollectionRequest) GetId() int64
- func (x *UpdateCollectionRequest) GetName() string
- func (*UpdateCollectionRequest) ProtoMessage()
- func (x *UpdateCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCollectionRequest) Reset()
- func (x *UpdateCollectionRequest) String() string
- type UpdateCollectionResponse
- func (*UpdateCollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCollectionResponse) GetMeta() *Metadata
- func (*UpdateCollectionResponse) ProtoMessage()
- func (x *UpdateCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateCollectionResponse) Reset()
- func (x *UpdateCollectionResponse) String() string
- type UpdateUserImageType
- func (UpdateUserImageType) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateUserImageType) Enum() *UpdateUserImageType
- func (UpdateUserImageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateUserImageType) Number() protoreflect.EnumNumber
- func (x UpdateUserImageType) String() string
- func (UpdateUserImageType) Type() protoreflect.EnumType
- type UpdateUserInfoRequest
- func (*UpdateUserInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserInfoRequest) GetAvatar() string
- func (x *UpdateUserInfoRequest) GetBackgroundImage() string
- func (x *UpdateUserInfoRequest) GetName() string
- func (x *UpdateUserInfoRequest) GetSignature() string
- func (x *UpdateUserInfoRequest) GetUserId() int64
- func (*UpdateUserInfoRequest) ProtoMessage()
- func (x *UpdateUserInfoRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserInfoRequest) Reset()
- func (x *UpdateUserInfoRequest) String() string
- type UpdateUserInfoResponse
- func (*UpdateUserInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserInfoResponse) GetMeta() *Metadata
- func (*UpdateUserInfoResponse) ProtoMessage()
- func (x *UpdateUserInfoResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserInfoResponse) Reset()
- func (x *UpdateUserInfoResponse) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAvatar() string
- func (x *User) GetBackgroundImage() string
- func (x *User) GetEmail() string
- func (x *User) GetFavoriteCount() int64
- func (x *User) GetFollowCount() int64
- func (x *User) GetFollowerCount() int64
- func (x *User) GetId() int64
- func (x *User) GetMobile() string
- 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) String() string
- type UserServiceClient
- type UserServiceHTTPClient
- type UserServiceHTTPClientImpl
- func (c *UserServiceHTTPClientImpl) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...http.CallOption) (*CreateUserResponse, error)
- func (c *UserServiceHTTPClientImpl) GetUserInfo(ctx context.Context, in *GetUserInfoRequest, opts ...http.CallOption) (*GetUserInfoResponse, error)
- func (c *UserServiceHTTPClientImpl) UpdateUserInfo(ctx context.Context, in *UpdateUserInfoRequest, opts ...http.CallOption) (*UpdateUserInfoResponse, error)
- type UserServiceHTTPServer
- type UserServiceServer
- type Video
- func (*Video) Descriptor() ([]byte, []int)deprecated
- func (x *Video) GetAuthor() *Author
- func (x *Video) GetCollectCount() int64
- func (x *Video) GetCommentCount() int64
- func (x *Video) GetCoverUrl() string
- func (x *Video) GetDescription() string
- func (x *Video) GetFavoriteCount() int64
- func (x *Video) GetId() int64
- func (x *Video) GetIsCollect() int64
- func (x *Video) GetIsFavorite() int64
- func (x *Video) GetPlayUrl() string
- func (x *Video) GetTitle() string
- func (x *Video) GetUploadTime() string
- func (*Video) ProtoMessage()
- func (x *Video) ProtoReflect() protoreflect.Message
- func (x *Video) Reset()
- func (x *Video) String() string
- type VideoServiceClient
- type VideoServiceHTTPClient
- type VideoServiceHTTPClientImpl
- func (c *VideoServiceHTTPClientImpl) FeedShortVideo(ctx context.Context, in *FeedShortVideoRequest, opts ...http.CallOption) (*FeedShortVideoResponse, error)
- func (c *VideoServiceHTTPClientImpl) GetVideoById(ctx context.Context, in *GetVideoByIdRequest, opts ...http.CallOption) (*GetVideoByIdResponse, error)
- func (c *VideoServiceHTTPClientImpl) ListPublishedVideo(ctx context.Context, in *ListPublishedVideoRequest, opts ...http.CallOption) (*ListPublishedVideoResponse, error)
- func (c *VideoServiceHTTPClientImpl) PublishVideo(ctx context.Context, in *PublishVideoRequest, opts ...http.CallOption) (*PublishVideoResponse, error)
- type VideoServiceHTTPServer
- type VideoServiceServer
Constants ¶
const ( CollectionService_CreateCollection_FullMethodName = "/coreService.v1.CollectionService/CreateCollection" CollectionService_GetCollectionById_FullMethodName = "/coreService.v1.CollectionService/GetCollectionById" CollectionService_RemoveCollection_FullMethodName = "/coreService.v1.CollectionService/RemoveCollection" CollectionService_ListCollection_FullMethodName = "/coreService.v1.CollectionService/ListCollection" CollectionService_UpdateCollection_FullMethodName = "/coreService.v1.CollectionService/UpdateCollection" CollectionService_AddVideo2Collection_FullMethodName = "/coreService.v1.CollectionService/AddVideo2Collection" CollectionService_RemoveVideoFromCollection_FullMethodName = "/coreService.v1.CollectionService/RemoveVideoFromCollection" CollectionService_ListCollectionVideo_FullMethodName = "/coreService.v1.CollectionService/ListCollectionVideo" CollectionService_IsCollected_FullMethodName = "/coreService.v1.CollectionService/IsCollected" CollectionService_CountCollect4Video_FullMethodName = "/coreService.v1.CollectionService/CountCollect4Video" )
const ( CommentService_CreateComment_FullMethodName = "/coreService.v1.CommentService/CreateComment" CommentService_RemoveComment_FullMethodName = "/coreService.v1.CommentService/RemoveComment" CommentService_ListComment4Video_FullMethodName = "/coreService.v1.CommentService/ListComment4Video" CommentService_ListChildComment4Comment_FullMethodName = "/coreService.v1.CommentService/ListChildComment4Comment" CommentService_GetCommentById_FullMethodName = "/coreService.v1.CommentService/GetCommentById" CommentService_CountComment4Video_FullMethodName = "/coreService.v1.CommentService/CountComment4Video" CommentService_CountComment4User_FullMethodName = "/coreService.v1.CommentService/CountComment4User" )
const ( FollowService_AddFollow_FullMethodName = "/coreService.v1.FollowService/AddFollow" FollowService_RemoveFollow_FullMethodName = "/coreService.v1.FollowService/RemoveFollow" FollowService_ListFollowing_FullMethodName = "/coreService.v1.FollowService/ListFollowing" FollowService_IsFollowing_FullMethodName = "/coreService.v1.FollowService/IsFollowing" FollowService_CountFollow_FullMethodName = "/coreService.v1.FollowService/CountFollow" )
const ( InterService_IncrReadCount_FullMethodName = "/coreService.v1.InterService/IncrReadCount" InterService_Like_FullMethodName = "/coreService.v1.InterService/Like" InterService_CancelLike_FullMethodName = "/coreService.v1.InterService/CancelLike" InterService_Collect_FullMethodName = "/coreService.v1.InterService/Collect" InterService_CancelCollect_FullMethodName = "/coreService.v1.InterService/CancelCollect" InterService_Stat_FullMethodName = "/coreService.v1.InterService/Stat" )
const ( UserService_CreateUser_FullMethodName = "/coreService.v1.UserService/CreateUser" UserService_GetUserInfo_FullMethodName = "/coreService.v1.UserService/GetUserInfo" UserService_UpdateUserInfo_FullMethodName = "/coreService.v1.UserService/UpdateUserInfo" UserService_GetUserByIdList_FullMethodName = "/coreService.v1.UserService/GetUserByIdList" )
const ( VideoService_FeedShortVideo_FullMethodName = "/coreService.v1.VideoService/FeedShortVideo" VideoService_GetVideoById_FullMethodName = "/coreService.v1.VideoService/GetVideoById" VideoService_PublishVideo_FullMethodName = "/coreService.v1.VideoService/PublishVideo" VideoService_ListPublishedVideo_FullMethodName = "/coreService.v1.VideoService/ListPublishedVideo" VideoService_GetVideoByIdList_FullMethodName = "/coreService.v1.VideoService/GetVideoByIdList" )
const OperationUserServiceCreateUser = "/coreService.v1.UserService/CreateUser"
const OperationUserServiceGetUserInfo = "/coreService.v1.UserService/GetUserInfo"
const OperationUserServiceUpdateUserInfo = "/coreService.v1.UserService/UpdateUserInfo"
const OperationVideoServiceFeedShortVideo = "/coreService.v1.VideoService/FeedShortVideo"
const OperationVideoServiceGetVideoById = "/coreService.v1.VideoService/GetVideoById"
const OperationVideoServiceListPublishedVideo = "/coreService.v1.VideoService/ListPublishedVideo"
const OperationVideoServicePublishVideo = "/coreService.v1.VideoService/PublishVideo"
Variables ¶
var ( SortOrder_name = map[int32]string{ 0: "ASC", 1: "DESC", } SortOrder_value = map[string]int32{ "ASC": 0, "DESC": 1, } )
Enum value maps for SortOrder.
var ( SearchOperator_name = map[int32]string{ 0: "EQ", 1: "NE", 2: "GT", 3: "GE", 4: "LT", 5: "LE", 6: "LIKE", 7: "WILDCARD", 8: "IN", 9: "NOT_IN", 10: "BETWEEN", 11: "RE", } SearchOperator_value = map[string]int32{ "EQ": 0, "NE": 1, "GT": 2, "GE": 3, "LT": 4, "LE": 5, "LIKE": 6, "WILDCARD": 7, "IN": 8, "NOT_IN": 9, "BETWEEN": 10, "RE": 11, } )
Enum value maps for SearchOperator.
var ( FollowType_name = map[int32]string{ 0: "FOLLOWING", 1: "FOLLOWER", 2: "BOTH", } FollowType_value = map[string]int32{ "FOLLOWING": 0, "FOLLOWER": 1, "BOTH": 2, } )
Enum value maps for FollowType.
var ( UpdateUserImageType_name = map[int32]string{ 0: "AVATAR", 1: "BACKGROUND_IMAGE", } UpdateUserImageType_value = map[string]int32{ "AVATAR": 0, "BACKGROUND_IMAGE": 1, } )
Enum value maps for UpdateUserImageType.
var CollectionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "coreService.v1.CollectionService", HandlerType: (*CollectionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateCollection", Handler: _CollectionService_CreateCollection_Handler, }, { MethodName: "GetCollectionById", Handler: _CollectionService_GetCollectionById_Handler, }, { MethodName: "RemoveCollection", Handler: _CollectionService_RemoveCollection_Handler, }, { MethodName: "ListCollection", Handler: _CollectionService_ListCollection_Handler, }, { MethodName: "UpdateCollection", Handler: _CollectionService_UpdateCollection_Handler, }, { MethodName: "AddVideo2Collection", Handler: _CollectionService_AddVideo2Collection_Handler, }, { MethodName: "RemoveVideoFromCollection", Handler: _CollectionService_RemoveVideoFromCollection_Handler, }, { MethodName: "ListCollectionVideo", Handler: _CollectionService_ListCollectionVideo_Handler, }, { MethodName: "IsCollected", Handler: _CollectionService_IsCollected_Handler, }, { MethodName: "CountCollect4Video", Handler: _CollectionService_CountCollect4Video_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "coreService/v1/collection.proto", }
CollectionService_ServiceDesc is the grpc.ServiceDesc for CollectionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CommentService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "coreService.v1.CommentService", HandlerType: (*CommentServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateComment", Handler: _CommentService_CreateComment_Handler, }, { MethodName: "RemoveComment", Handler: _CommentService_RemoveComment_Handler, }, { MethodName: "ListComment4Video", Handler: _CommentService_ListComment4Video_Handler, }, { MethodName: "ListChildComment4Comment", Handler: _CommentService_ListChildComment4Comment_Handler, }, { MethodName: "GetCommentById", Handler: _CommentService_GetCommentById_Handler, }, { MethodName: "CountComment4Video", Handler: _CommentService_CountComment4Video_Handler, }, { MethodName: "CountComment4User", Handler: _CommentService_CountComment4User_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "coreService/v1/comment.proto", }
CommentService_ServiceDesc is the grpc.ServiceDesc for CommentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_coreService_v1_collection_proto protoreflect.FileDescriptor
var File_coreService_v1_comment_proto protoreflect.FileDescriptor
var File_coreService_v1_common_proto protoreflect.FileDescriptor
var File_coreService_v1_follow_proto protoreflect.FileDescriptor
var File_coreService_v1_inter_proto protoreflect.FileDescriptor
var File_coreService_v1_user_proto protoreflect.FileDescriptor
var File_coreService_v1_video_proto protoreflect.FileDescriptor
var FollowService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "coreService.v1.FollowService", HandlerType: (*FollowServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddFollow", Handler: _FollowService_AddFollow_Handler, }, { MethodName: "RemoveFollow", Handler: _FollowService_RemoveFollow_Handler, }, { MethodName: "ListFollowing", Handler: _FollowService_ListFollowing_Handler, }, { MethodName: "IsFollowing", Handler: _FollowService_IsFollowing_Handler, }, { MethodName: "CountFollow", Handler: _FollowService_CountFollow_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "coreService/v1/follow.proto", }
FollowService_ServiceDesc is the grpc.ServiceDesc for FollowService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var InterService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "coreService.v1.InterService", HandlerType: (*InterServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "IncrReadCount", Handler: _InterService_IncrReadCount_Handler, }, { MethodName: "Like", Handler: _InterService_Like_Handler, }, { MethodName: "CancelLike", Handler: _InterService_CancelLike_Handler, }, { MethodName: "Collect", Handler: _InterService_Collect_Handler, }, { MethodName: "CancelCollect", Handler: _InterService_CancelCollect_Handler, }, { MethodName: "Stat", Handler: _InterService_Stat_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "coreService/v1/inter.proto", }
InterService_ServiceDesc is the grpc.ServiceDesc for InterService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "coreService.v1.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUser", Handler: _UserService_CreateUser_Handler, }, { MethodName: "GetUserInfo", Handler: _UserService_GetUserInfo_Handler, }, { MethodName: "UpdateUserInfo", Handler: _UserService_UpdateUserInfo_Handler, }, { MethodName: "GetUserByIdList", Handler: _UserService_GetUserByIdList_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "coreService/v1/user.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var VideoService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "coreService.v1.VideoService", HandlerType: (*VideoServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FeedShortVideo", Handler: _VideoService_FeedShortVideo_Handler, }, { MethodName: "GetVideoById", Handler: _VideoService_GetVideoById_Handler, }, { MethodName: "PublishVideo", Handler: _VideoService_PublishVideo_Handler, }, { MethodName: "ListPublishedVideo", Handler: _VideoService_ListPublishedVideo_Handler, }, { MethodName: "GetVideoByIdList", Handler: _VideoService_GetVideoByIdList_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "coreService/v1/video.proto", }
VideoService_ServiceDesc is the grpc.ServiceDesc for VideoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterCollectionServiceServer ¶
func RegisterCollectionServiceServer(s grpc.ServiceRegistrar, srv CollectionServiceServer)
func RegisterCommentServiceServer ¶
func RegisterCommentServiceServer(s grpc.ServiceRegistrar, srv CommentServiceServer)
func RegisterFollowServiceServer ¶
func RegisterFollowServiceServer(s grpc.ServiceRegistrar, srv FollowServiceServer)
func RegisterInterServiceServer ¶
func RegisterInterServiceServer(s grpc.ServiceRegistrar, srv InterServiceServer)
func RegisterUserServiceHTTPServer ¶
func RegisterUserServiceHTTPServer(s *http.Server, srv UserServiceHTTPServer)
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
func RegisterVideoServiceHTTPServer ¶
func RegisterVideoServiceHTTPServer(s *http.Server, srv VideoServiceHTTPServer)
func RegisterVideoServiceServer ¶
func RegisterVideoServiceServer(s grpc.ServiceRegistrar, srv VideoServiceServer)
Types ¶
type AddFollowRequest ¶
type AddFollowRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` // contains filtered or unexported fields }
func (*AddFollowRequest) Descriptor
deprecated
func (*AddFollowRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddFollowRequest.ProtoReflect.Descriptor instead.
func (*AddFollowRequest) GetTargetUserId ¶
func (x *AddFollowRequest) GetTargetUserId() int64
func (*AddFollowRequest) GetUserId ¶
func (x *AddFollowRequest) GetUserId() int64
func (*AddFollowRequest) ProtoMessage ¶
func (*AddFollowRequest) ProtoMessage()
func (*AddFollowRequest) ProtoReflect ¶
func (x *AddFollowRequest) ProtoReflect() protoreflect.Message
func (*AddFollowRequest) Reset ¶
func (x *AddFollowRequest) Reset()
func (*AddFollowRequest) String ¶
func (x *AddFollowRequest) String() string
type AddFollowResponse ¶
type AddFollowResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*AddFollowResponse) Descriptor
deprecated
func (*AddFollowResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddFollowResponse.ProtoReflect.Descriptor instead.
func (*AddFollowResponse) GetMeta ¶
func (x *AddFollowResponse) GetMeta() *Metadata
func (*AddFollowResponse) ProtoMessage ¶
func (*AddFollowResponse) ProtoMessage()
func (*AddFollowResponse) ProtoReflect ¶
func (x *AddFollowResponse) ProtoReflect() protoreflect.Message
func (*AddFollowResponse) Reset ¶
func (x *AddFollowResponse) Reset()
func (*AddFollowResponse) String ¶
func (x *AddFollowResponse) String() string
type AddVideo2CollectionRequest ¶
type AddVideo2CollectionRequest struct { CollectionId int64 `protobuf:"varint,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` // 不传则添加到默认收藏夹 VideoId int64 `protobuf:"varint,2,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*AddVideo2CollectionRequest) Descriptor
deprecated
func (*AddVideo2CollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddVideo2CollectionRequest.ProtoReflect.Descriptor instead.
func (*AddVideo2CollectionRequest) GetCollectionId ¶
func (x *AddVideo2CollectionRequest) GetCollectionId() int64
func (*AddVideo2CollectionRequest) GetUserId ¶
func (x *AddVideo2CollectionRequest) GetUserId() int64
func (*AddVideo2CollectionRequest) GetVideoId ¶
func (x *AddVideo2CollectionRequest) GetVideoId() int64
func (*AddVideo2CollectionRequest) ProtoMessage ¶
func (*AddVideo2CollectionRequest) ProtoMessage()
func (*AddVideo2CollectionRequest) ProtoReflect ¶
func (x *AddVideo2CollectionRequest) ProtoReflect() protoreflect.Message
func (*AddVideo2CollectionRequest) Reset ¶
func (x *AddVideo2CollectionRequest) Reset()
func (*AddVideo2CollectionRequest) String ¶
func (x *AddVideo2CollectionRequest) String() string
type AddVideo2CollectionResponse ¶
type AddVideo2CollectionResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*AddVideo2CollectionResponse) Descriptor
deprecated
func (*AddVideo2CollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddVideo2CollectionResponse.ProtoReflect.Descriptor instead.
func (*AddVideo2CollectionResponse) GetMeta ¶
func (x *AddVideo2CollectionResponse) GetMeta() *Metadata
func (*AddVideo2CollectionResponse) ProtoMessage ¶
func (*AddVideo2CollectionResponse) ProtoMessage()
func (*AddVideo2CollectionResponse) ProtoReflect ¶
func (x *AddVideo2CollectionResponse) ProtoReflect() protoreflect.Message
func (*AddVideo2CollectionResponse) Reset ¶
func (x *AddVideo2CollectionResponse) Reset()
func (*AddVideo2CollectionResponse) String ¶
func (x *AddVideo2CollectionResponse) String() string
type Author ¶
type Author 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"` // 作者昵称 Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"` // 作者头像地址 IsFollowing int64 `protobuf:"varint,4,opt,name=is_following,json=isFollowing,proto3" json:"is_following,omitempty"` // 0-未关注,1-已关注 // contains filtered or unexported fields }
func (*Author) Descriptor
deprecated
func (*Author) GetIsFollowing ¶
func (*Author) ProtoMessage ¶
func (*Author) ProtoMessage()
func (*Author) ProtoReflect ¶
func (x *Author) ProtoReflect() protoreflect.Message
type CancelCollectRequest ¶
type CancelCollectRequest struct { Biz string `protobuf:"bytes,1,opt,name=biz,proto3" json:"biz,omitempty"` BizId int64 `protobuf:"varint,2,opt,name=biz_id,json=bizId,proto3" json:"biz_id,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` CollectionId int64 `protobuf:"varint,4,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` // contains filtered or unexported fields }
func (*CancelCollectRequest) Descriptor
deprecated
func (*CancelCollectRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelCollectRequest.ProtoReflect.Descriptor instead.
func (*CancelCollectRequest) GetBiz ¶
func (x *CancelCollectRequest) GetBiz() string
func (*CancelCollectRequest) GetBizId ¶
func (x *CancelCollectRequest) GetBizId() int64
func (*CancelCollectRequest) GetCollectionId ¶
func (x *CancelCollectRequest) GetCollectionId() int64
func (*CancelCollectRequest) GetUserId ¶
func (x *CancelCollectRequest) GetUserId() int64
func (*CancelCollectRequest) ProtoMessage ¶
func (*CancelCollectRequest) ProtoMessage()
func (*CancelCollectRequest) ProtoReflect ¶
func (x *CancelCollectRequest) ProtoReflect() protoreflect.Message
func (*CancelCollectRequest) Reset ¶
func (x *CancelCollectRequest) Reset()
func (*CancelCollectRequest) String ¶
func (x *CancelCollectRequest) String() string
type CancelCollectResponse ¶
type CancelCollectResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*CancelCollectResponse) Descriptor
deprecated
func (*CancelCollectResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelCollectResponse.ProtoReflect.Descriptor instead.
func (*CancelCollectResponse) GetMeta ¶
func (x *CancelCollectResponse) GetMeta() *Metadata
func (*CancelCollectResponse) ProtoMessage ¶
func (*CancelCollectResponse) ProtoMessage()
func (*CancelCollectResponse) ProtoReflect ¶
func (x *CancelCollectResponse) ProtoReflect() protoreflect.Message
func (*CancelCollectResponse) Reset ¶
func (x *CancelCollectResponse) Reset()
func (*CancelCollectResponse) String ¶
func (x *CancelCollectResponse) String() string
type CancelLikeRequest ¶
type CancelLikeRequest struct { Biz string `protobuf:"bytes,1,opt,name=biz,proto3" json:"biz,omitempty"` BizId int64 `protobuf:"varint,2,opt,name=biz_id,json=bizId,proto3" json:"biz_id,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*CancelLikeRequest) Descriptor
deprecated
func (*CancelLikeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelLikeRequest.ProtoReflect.Descriptor instead.
func (*CancelLikeRequest) GetBiz ¶
func (x *CancelLikeRequest) GetBiz() string
func (*CancelLikeRequest) GetBizId ¶
func (x *CancelLikeRequest) GetBizId() int64
func (*CancelLikeRequest) GetUserId ¶
func (x *CancelLikeRequest) GetUserId() int64
func (*CancelLikeRequest) ProtoMessage ¶
func (*CancelLikeRequest) ProtoMessage()
func (*CancelLikeRequest) ProtoReflect ¶
func (x *CancelLikeRequest) ProtoReflect() protoreflect.Message
func (*CancelLikeRequest) Reset ¶
func (x *CancelLikeRequest) Reset()
func (*CancelLikeRequest) String ¶
func (x *CancelLikeRequest) String() string
type CancelLikeResponse ¶
type CancelLikeResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*CancelLikeResponse) Descriptor
deprecated
func (*CancelLikeResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelLikeResponse.ProtoReflect.Descriptor instead.
func (*CancelLikeResponse) GetMeta ¶
func (x *CancelLikeResponse) GetMeta() *Metadata
func (*CancelLikeResponse) ProtoMessage ¶
func (*CancelLikeResponse) ProtoMessage()
func (*CancelLikeResponse) ProtoReflect ¶
func (x *CancelLikeResponse) ProtoReflect() protoreflect.Message
func (*CancelLikeResponse) Reset ¶
func (x *CancelLikeResponse) Reset()
func (*CancelLikeResponse) String ¶
func (x *CancelLikeResponse) String() string
type CollectRequest ¶
type CollectRequest struct { Biz string `protobuf:"bytes,1,opt,name=biz,proto3" json:"biz,omitempty"` BizId int64 `protobuf:"varint,2,opt,name=biz_id,json=bizId,proto3" json:"biz_id,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` CollectionId int64 `protobuf:"varint,4,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` // contains filtered or unexported fields }
func (*CollectRequest) Descriptor
deprecated
func (*CollectRequest) Descriptor() ([]byte, []int)
Deprecated: Use CollectRequest.ProtoReflect.Descriptor instead.
func (*CollectRequest) GetBiz ¶
func (x *CollectRequest) GetBiz() string
func (*CollectRequest) GetBizId ¶
func (x *CollectRequest) GetBizId() int64
func (*CollectRequest) GetCollectionId ¶
func (x *CollectRequest) GetCollectionId() int64
func (*CollectRequest) GetUserId ¶
func (x *CollectRequest) GetUserId() int64
func (*CollectRequest) ProtoMessage ¶
func (*CollectRequest) ProtoMessage()
func (*CollectRequest) ProtoReflect ¶
func (x *CollectRequest) ProtoReflect() protoreflect.Message
func (*CollectRequest) Reset ¶
func (x *CollectRequest) Reset()
func (*CollectRequest) String ¶
func (x *CollectRequest) String() string
type CollectResponse ¶
type CollectResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*CollectResponse) Descriptor
deprecated
func (*CollectResponse) Descriptor() ([]byte, []int)
Deprecated: Use CollectResponse.ProtoReflect.Descriptor instead.
func (*CollectResponse) GetMeta ¶
func (x *CollectResponse) GetMeta() *Metadata
func (*CollectResponse) ProtoMessage ¶
func (*CollectResponse) ProtoMessage()
func (*CollectResponse) ProtoReflect ¶
func (x *CollectResponse) ProtoReflect() protoreflect.Message
func (*CollectResponse) Reset ¶
func (x *CollectResponse) Reset()
func (*CollectResponse) String ¶
func (x *CollectResponse) String() string
type Collection ¶
type Collection struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Collection) Descriptor
deprecated
func (*Collection) Descriptor() ([]byte, []int)
Deprecated: Use Collection.ProtoReflect.Descriptor instead.
func (*Collection) GetDescription ¶
func (x *Collection) GetDescription() string
func (*Collection) GetId ¶
func (x *Collection) GetId() int64
func (*Collection) GetName ¶
func (x *Collection) GetName() string
func (*Collection) GetUserId ¶
func (x *Collection) GetUserId() int64
func (*Collection) ProtoMessage ¶
func (*Collection) ProtoMessage()
func (*Collection) ProtoReflect ¶
func (x *Collection) ProtoReflect() protoreflect.Message
func (*Collection) Reset ¶
func (x *Collection) Reset()
func (*Collection) String ¶
func (x *Collection) String() string
type CollectionServiceClient ¶
type CollectionServiceClient interface { CreateCollection(ctx context.Context, in *CreateCollectionRequest, opts ...grpc.CallOption) (*CreateCollectionResponse, error) GetCollectionById(ctx context.Context, in *GetCollectionByIdRequest, opts ...grpc.CallOption) (*GetCollectionByIdResponse, error) RemoveCollection(ctx context.Context, in *RemoveCollectionRequest, opts ...grpc.CallOption) (*RemoveCollectionResponse, error) ListCollection(ctx context.Context, in *ListCollectionRequest, opts ...grpc.CallOption) (*ListCollectionResponse, error) UpdateCollection(ctx context.Context, in *UpdateCollectionRequest, opts ...grpc.CallOption) (*UpdateCollectionResponse, error) AddVideo2Collection(ctx context.Context, in *AddVideo2CollectionRequest, opts ...grpc.CallOption) (*AddVideo2CollectionResponse, error) RemoveVideoFromCollection(ctx context.Context, in *RemoveVideoFromCollectionRequest, opts ...grpc.CallOption) (*RemoveVideoFromCollectionResponse, error) ListCollectionVideo(ctx context.Context, in *ListCollectionVideoRequest, opts ...grpc.CallOption) (*ListCollectionVideoResponse, error) IsCollected(ctx context.Context, in *IsCollectedRequest, opts ...grpc.CallOption) (*IsCollectedResponse, error) CountCollect4Video(ctx context.Context, in *CountCollect4VideoRequest, opts ...grpc.CallOption) (*CountCollect4VideoResponse, error) }
CollectionServiceClient is the client API for CollectionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCollectionServiceClient ¶
func NewCollectionServiceClient(cc grpc.ClientConnInterface) CollectionServiceClient
type CollectionServiceServer ¶
type CollectionServiceServer interface { CreateCollection(context.Context, *CreateCollectionRequest) (*CreateCollectionResponse, error) GetCollectionById(context.Context, *GetCollectionByIdRequest) (*GetCollectionByIdResponse, error) RemoveCollection(context.Context, *RemoveCollectionRequest) (*RemoveCollectionResponse, error) ListCollection(context.Context, *ListCollectionRequest) (*ListCollectionResponse, error) UpdateCollection(context.Context, *UpdateCollectionRequest) (*UpdateCollectionResponse, error) AddVideo2Collection(context.Context, *AddVideo2CollectionRequest) (*AddVideo2CollectionResponse, error) RemoveVideoFromCollection(context.Context, *RemoveVideoFromCollectionRequest) (*RemoveVideoFromCollectionResponse, error) ListCollectionVideo(context.Context, *ListCollectionVideoRequest) (*ListCollectionVideoResponse, error) IsCollected(context.Context, *IsCollectedRequest) (*IsCollectedResponse, error) CountCollect4Video(context.Context, *CountCollect4VideoRequest) (*CountCollect4VideoResponse, error) // contains filtered or unexported methods }
CollectionServiceServer is the server API for CollectionService service. All implementations must embed UnimplementedCollectionServiceServer for forward compatibility.
type Comment ¶
type Comment struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 评论id VideoId int64 `protobuf:"varint,2,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` // 视频id Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // 评论内容 Date string `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"` // 评论日期 LikeCount string `protobuf:"bytes,5,opt,name=like_count,json=likeCount,proto3" json:"like_count,omitempty"` // 点赞数 ReplyCount string `protobuf:"bytes,6,opt,name=reply_count,json=replyCount,proto3" json:"reply_count,omitempty"` // 回复数 UserId int64 `protobuf:"varint,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id ParentId int64 `protobuf:"varint,8,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 父评论id ReplyUserId int64 `protobuf:"varint,9,opt,name=reply_user_id,json=replyUserId,proto3" json:"reply_user_id,omitempty"` // 回复用户id Comments []*Comment `protobuf:"bytes,10,rep,name=comments,proto3" json:"comments,omitempty"` // 子评论 // contains filtered or unexported fields }
func (*Comment) Descriptor
deprecated
func (*Comment) GetComments ¶
func (*Comment) GetContent ¶
func (*Comment) GetLikeCount ¶
func (*Comment) GetParentId ¶
func (*Comment) GetReplyCount ¶
func (*Comment) GetReplyUserId ¶
func (*Comment) GetVideoId ¶
func (*Comment) ProtoMessage ¶
func (*Comment) ProtoMessage()
func (*Comment) ProtoReflect ¶
func (x *Comment) ProtoReflect() protoreflect.Message
type CommentServiceClient ¶
type CommentServiceClient interface { CreateComment(ctx context.Context, in *CreateCommentRequest, opts ...grpc.CallOption) (*CreateCommentResponse, error) RemoveComment(ctx context.Context, in *RemoveCommentRequest, opts ...grpc.CallOption) (*RemoveCommentResponse, error) ListComment4Video(ctx context.Context, in *ListComment4VideoRequest, opts ...grpc.CallOption) (*ListComment4VideoResponse, error) ListChildComment4Comment(ctx context.Context, in *ListChildComment4CommentRequest, opts ...grpc.CallOption) (*ListChildComment4CommentResponse, error) GetCommentById(ctx context.Context, in *GetCommentByIdRequest, opts ...grpc.CallOption) (*GetCommentByIdResponse, error) CountComment4Video(ctx context.Context, in *CountComment4VideoRequest, opts ...grpc.CallOption) (*CountComment4VideoResponse, error) CountComment4User(ctx context.Context, in *CountComment4UserRequest, opts ...grpc.CallOption) (*CountComment4UserResponse, error) }
CommentServiceClient is the client API for CommentService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCommentServiceClient ¶
func NewCommentServiceClient(cc grpc.ClientConnInterface) CommentServiceClient
type CommentServiceServer ¶
type CommentServiceServer interface { CreateComment(context.Context, *CreateCommentRequest) (*CreateCommentResponse, error) RemoveComment(context.Context, *RemoveCommentRequest) (*RemoveCommentResponse, error) ListComment4Video(context.Context, *ListComment4VideoRequest) (*ListComment4VideoResponse, error) ListChildComment4Comment(context.Context, *ListChildComment4CommentRequest) (*ListChildComment4CommentResponse, error) GetCommentById(context.Context, *GetCommentByIdRequest) (*GetCommentByIdResponse, error) CountComment4Video(context.Context, *CountComment4VideoRequest) (*CountComment4VideoResponse, error) CountComment4User(context.Context, *CountComment4UserRequest) (*CountComment4UserResponse, error) // contains filtered or unexported methods }
CommentServiceServer is the server API for CommentService service. All implementations must embed UnimplementedCommentServiceServer for forward compatibility.
type CountCollect4VideoRequest ¶
type CountCollect4VideoRequest struct { VideoIdList []int64 `protobuf:"varint,1,rep,packed,name=video_id_list,json=videoIdList,proto3" json:"video_id_list,omitempty"` // contains filtered or unexported fields }
func (*CountCollect4VideoRequest) Descriptor
deprecated
func (*CountCollect4VideoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CountCollect4VideoRequest.ProtoReflect.Descriptor instead.
func (*CountCollect4VideoRequest) GetVideoIdList ¶
func (x *CountCollect4VideoRequest) GetVideoIdList() []int64
func (*CountCollect4VideoRequest) ProtoMessage ¶
func (*CountCollect4VideoRequest) ProtoMessage()
func (*CountCollect4VideoRequest) ProtoReflect ¶
func (x *CountCollect4VideoRequest) ProtoReflect() protoreflect.Message
func (*CountCollect4VideoRequest) Reset ¶
func (x *CountCollect4VideoRequest) Reset()
func (*CountCollect4VideoRequest) String ¶
func (x *CountCollect4VideoRequest) String() string
type CountCollect4VideoResponse ¶
type CountCollect4VideoResponse struct { CountResult []*CountCollect4VideoResult `protobuf:"bytes,1,rep,name=count_result,json=countResult,proto3" json:"count_result,omitempty"` Meta *Metadata `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*CountCollect4VideoResponse) Descriptor
deprecated
func (*CountCollect4VideoResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountCollect4VideoResponse.ProtoReflect.Descriptor instead.
func (*CountCollect4VideoResponse) GetCountResult ¶
func (x *CountCollect4VideoResponse) GetCountResult() []*CountCollect4VideoResult
func (*CountCollect4VideoResponse) GetMeta ¶
func (x *CountCollect4VideoResponse) GetMeta() *Metadata
func (*CountCollect4VideoResponse) ProtoMessage ¶
func (*CountCollect4VideoResponse) ProtoMessage()
func (*CountCollect4VideoResponse) ProtoReflect ¶
func (x *CountCollect4VideoResponse) ProtoReflect() protoreflect.Message
func (*CountCollect4VideoResponse) Reset ¶
func (x *CountCollect4VideoResponse) Reset()
func (*CountCollect4VideoResponse) String ¶
func (x *CountCollect4VideoResponse) String() string
type CountCollect4VideoResult ¶
type CountCollect4VideoResult struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*CountCollect4VideoResult) Descriptor
deprecated
func (*CountCollect4VideoResult) Descriptor() ([]byte, []int)
Deprecated: Use CountCollect4VideoResult.ProtoReflect.Descriptor instead.
func (*CountCollect4VideoResult) GetCount ¶
func (x *CountCollect4VideoResult) GetCount() int64
func (*CountCollect4VideoResult) GetId ¶
func (x *CountCollect4VideoResult) GetId() int64
func (*CountCollect4VideoResult) ProtoMessage ¶
func (*CountCollect4VideoResult) ProtoMessage()
func (*CountCollect4VideoResult) ProtoReflect ¶
func (x *CountCollect4VideoResult) ProtoReflect() protoreflect.Message
func (*CountCollect4VideoResult) Reset ¶
func (x *CountCollect4VideoResult) Reset()
func (*CountCollect4VideoResult) String ¶
func (x *CountCollect4VideoResult) String() string
type CountComment4UserRequest ¶
type CountComment4UserRequest struct { UserId []int64 `protobuf:"varint,1,rep,packed,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id // contains filtered or unexported fields }
func (*CountComment4UserRequest) Descriptor
deprecated
func (*CountComment4UserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CountComment4UserRequest.ProtoReflect.Descriptor instead.
func (*CountComment4UserRequest) GetUserId ¶
func (x *CountComment4UserRequest) GetUserId() []int64
func (*CountComment4UserRequest) ProtoMessage ¶
func (*CountComment4UserRequest) ProtoMessage()
func (*CountComment4UserRequest) ProtoReflect ¶
func (x *CountComment4UserRequest) ProtoReflect() protoreflect.Message
func (*CountComment4UserRequest) Reset ¶
func (x *CountComment4UserRequest) Reset()
func (*CountComment4UserRequest) String ¶
func (x *CountComment4UserRequest) String() string
type CountComment4UserResponse ¶
type CountComment4UserResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Results []*CountResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*CountComment4UserResponse) Descriptor
deprecated
func (*CountComment4UserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountComment4UserResponse.ProtoReflect.Descriptor instead.
func (*CountComment4UserResponse) GetMeta ¶
func (x *CountComment4UserResponse) GetMeta() *Metadata
func (*CountComment4UserResponse) GetResults ¶
func (x *CountComment4UserResponse) GetResults() []*CountResult
func (*CountComment4UserResponse) ProtoMessage ¶
func (*CountComment4UserResponse) ProtoMessage()
func (*CountComment4UserResponse) ProtoReflect ¶
func (x *CountComment4UserResponse) ProtoReflect() protoreflect.Message
func (*CountComment4UserResponse) Reset ¶
func (x *CountComment4UserResponse) Reset()
func (*CountComment4UserResponse) String ¶
func (x *CountComment4UserResponse) String() string
type CountComment4VideoRequest ¶
type CountComment4VideoRequest struct { VideoId []int64 `protobuf:"varint,1,rep,packed,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` // 视频id // contains filtered or unexported fields }
func (*CountComment4VideoRequest) Descriptor
deprecated
func (*CountComment4VideoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CountComment4VideoRequest.ProtoReflect.Descriptor instead.
func (*CountComment4VideoRequest) GetVideoId ¶
func (x *CountComment4VideoRequest) GetVideoId() []int64
func (*CountComment4VideoRequest) ProtoMessage ¶
func (*CountComment4VideoRequest) ProtoMessage()
func (*CountComment4VideoRequest) ProtoReflect ¶
func (x *CountComment4VideoRequest) ProtoReflect() protoreflect.Message
func (*CountComment4VideoRequest) Reset ¶
func (x *CountComment4VideoRequest) Reset()
func (*CountComment4VideoRequest) String ¶
func (x *CountComment4VideoRequest) String() string
type CountComment4VideoResponse ¶
type CountComment4VideoResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Results []*CountResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*CountComment4VideoResponse) Descriptor
deprecated
func (*CountComment4VideoResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountComment4VideoResponse.ProtoReflect.Descriptor instead.
func (*CountComment4VideoResponse) GetMeta ¶
func (x *CountComment4VideoResponse) GetMeta() *Metadata
func (*CountComment4VideoResponse) GetResults ¶
func (x *CountComment4VideoResponse) GetResults() []*CountResult
func (*CountComment4VideoResponse) ProtoMessage ¶
func (*CountComment4VideoResponse) ProtoMessage()
func (*CountComment4VideoResponse) ProtoReflect ¶
func (x *CountComment4VideoResponse) ProtoReflect() protoreflect.Message
func (*CountComment4VideoResponse) Reset ¶
func (x *CountComment4VideoResponse) Reset()
func (*CountComment4VideoResponse) String ¶
func (x *CountComment4VideoResponse) String() string
type CountFollowRequest ¶
type CountFollowRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*CountFollowRequest) Descriptor
deprecated
func (*CountFollowRequest) Descriptor() ([]byte, []int)
Deprecated: Use CountFollowRequest.ProtoReflect.Descriptor instead.
func (*CountFollowRequest) GetUserId ¶
func (x *CountFollowRequest) GetUserId() int64
func (*CountFollowRequest) ProtoMessage ¶
func (*CountFollowRequest) ProtoMessage()
func (*CountFollowRequest) ProtoReflect ¶
func (x *CountFollowRequest) ProtoReflect() protoreflect.Message
func (*CountFollowRequest) Reset ¶
func (x *CountFollowRequest) Reset()
func (*CountFollowRequest) String ¶
func (x *CountFollowRequest) String() string
type CountFollowResponse ¶
type CountFollowResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` FollowingCount int64 `protobuf:"varint,2,opt,name=following_count,json=followingCount,proto3" json:"following_count,omitempty"` FollowerCount int64 `protobuf:"varint,3,opt,name=follower_count,json=followerCount,proto3" json:"follower_count,omitempty"` // contains filtered or unexported fields }
func (*CountFollowResponse) Descriptor
deprecated
func (*CountFollowResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountFollowResponse.ProtoReflect.Descriptor instead.
func (*CountFollowResponse) GetFollowerCount ¶
func (x *CountFollowResponse) GetFollowerCount() int64
func (*CountFollowResponse) GetFollowingCount ¶
func (x *CountFollowResponse) GetFollowingCount() int64
func (*CountFollowResponse) GetMeta ¶
func (x *CountFollowResponse) GetMeta() *Metadata
func (*CountFollowResponse) ProtoMessage ¶
func (*CountFollowResponse) ProtoMessage()
func (*CountFollowResponse) ProtoReflect ¶
func (x *CountFollowResponse) ProtoReflect() protoreflect.Message
func (*CountFollowResponse) Reset ¶
func (x *CountFollowResponse) Reset()
func (*CountFollowResponse) String ¶
func (x *CountFollowResponse) String() string
type CountResult ¶
type CountResult struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*CountResult) Descriptor
deprecated
func (*CountResult) Descriptor() ([]byte, []int)
Deprecated: Use CountResult.ProtoReflect.Descriptor instead.
func (*CountResult) GetCount ¶
func (x *CountResult) GetCount() int64
func (*CountResult) GetId ¶
func (x *CountResult) GetId() int64
func (*CountResult) ProtoMessage ¶
func (*CountResult) ProtoMessage()
func (*CountResult) ProtoReflect ¶
func (x *CountResult) ProtoReflect() protoreflect.Message
func (*CountResult) Reset ¶
func (x *CountResult) Reset()
func (*CountResult) String ¶
func (x *CountResult) String() string
type CreateCollectionRequest ¶
type CreateCollectionRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*CreateCollectionRequest) Descriptor
deprecated
func (*CreateCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCollectionRequest.ProtoReflect.Descriptor instead.
func (*CreateCollectionRequest) GetDescription ¶
func (x *CreateCollectionRequest) GetDescription() string
func (*CreateCollectionRequest) GetName ¶
func (x *CreateCollectionRequest) GetName() string
func (*CreateCollectionRequest) GetUserId ¶
func (x *CreateCollectionRequest) GetUserId() int64
func (*CreateCollectionRequest) ProtoMessage ¶
func (*CreateCollectionRequest) ProtoMessage()
func (*CreateCollectionRequest) ProtoReflect ¶
func (x *CreateCollectionRequest) ProtoReflect() protoreflect.Message
func (*CreateCollectionRequest) Reset ¶
func (x *CreateCollectionRequest) Reset()
func (*CreateCollectionRequest) String ¶
func (x *CreateCollectionRequest) String() string
type CreateCollectionResponse ¶
type CreateCollectionResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*CreateCollectionResponse) Descriptor
deprecated
func (*CreateCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCollectionResponse.ProtoReflect.Descriptor instead.
func (*CreateCollectionResponse) GetMeta ¶
func (x *CreateCollectionResponse) GetMeta() *Metadata
func (*CreateCollectionResponse) ProtoMessage ¶
func (*CreateCollectionResponse) ProtoMessage()
func (*CreateCollectionResponse) ProtoReflect ¶
func (x *CreateCollectionResponse) ProtoReflect() protoreflect.Message
func (*CreateCollectionResponse) Reset ¶
func (x *CreateCollectionResponse) Reset()
func (*CreateCollectionResponse) String ¶
func (x *CreateCollectionResponse) String() string
type CreateCommentRequest ¶
type CreateCommentRequest struct { VideoId int64 `protobuf:"varint,1,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` // 视频id UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // 评论内容 ParentId int64 `protobuf:"varint,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 父评论id ReplyUserId int64 `protobuf:"varint,5,opt,name=reply_user_id,json=replyUserId,proto3" json:"reply_user_id,omitempty"` // 回复用户id // contains filtered or unexported fields }
func (*CreateCommentRequest) Descriptor
deprecated
func (*CreateCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCommentRequest.ProtoReflect.Descriptor instead.
func (*CreateCommentRequest) GetContent ¶
func (x *CreateCommentRequest) GetContent() string
func (*CreateCommentRequest) GetParentId ¶
func (x *CreateCommentRequest) GetParentId() int64
func (*CreateCommentRequest) GetReplyUserId ¶
func (x *CreateCommentRequest) GetReplyUserId() int64
func (*CreateCommentRequest) GetUserId ¶
func (x *CreateCommentRequest) GetUserId() int64
func (*CreateCommentRequest) GetVideoId ¶
func (x *CreateCommentRequest) GetVideoId() int64
func (*CreateCommentRequest) ProtoMessage ¶
func (*CreateCommentRequest) ProtoMessage()
func (*CreateCommentRequest) ProtoReflect ¶
func (x *CreateCommentRequest) ProtoReflect() protoreflect.Message
func (*CreateCommentRequest) Reset ¶
func (x *CreateCommentRequest) Reset()
func (*CreateCommentRequest) String ¶
func (x *CreateCommentRequest) String() string
type CreateCommentResponse ¶
type CreateCommentResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Comment *Comment `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*CreateCommentResponse) Descriptor
deprecated
func (*CreateCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCommentResponse.ProtoReflect.Descriptor instead.
func (*CreateCommentResponse) GetComment ¶
func (x *CreateCommentResponse) GetComment() *Comment
func (*CreateCommentResponse) GetMeta ¶
func (x *CreateCommentResponse) GetMeta() *Metadata
func (*CreateCommentResponse) ProtoMessage ¶
func (*CreateCommentResponse) ProtoMessage()
func (*CreateCommentResponse) ProtoReflect ¶
func (x *CreateCommentResponse) ProtoReflect() protoreflect.Message
func (*CreateCommentResponse) Reset ¶
func (x *CreateCommentResponse) Reset()
func (*CreateCommentResponse) String ¶
func (x *CreateCommentResponse) String() string
type CreateUserRequest ¶
type CreateUserRequest struct { Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` AccountId int64 `protobuf:"varint,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetAccountId ¶
func (x *CreateUserRequest) GetAccountId() int64
func (*CreateUserRequest) GetEmail ¶
func (x *CreateUserRequest) GetEmail() string
func (*CreateUserRequest) GetMobile ¶
func (x *CreateUserRequest) GetMobile() string
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type CreateUserResponse ¶
type CreateUserResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*CreateUserResponse) Descriptor
deprecated
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetMeta ¶
func (x *CreateUserResponse) GetMeta() *Metadata
func (*CreateUserResponse) GetUserId ¶
func (x *CreateUserResponse) GetUserId() int64
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (x *CreateUserResponse) String() string
type FeedShortVideoRequest ¶
type FeedShortVideoRequest struct { LatestTime int64 `protobuf:"varint,1,opt,name=latest_time,json=latestTime,proto3" json:"latest_time,omitempty"` // 可选参数,限制返回视频的最新投稿时间戳,精确到秒,不填表示当前时间 UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` FeedNum int64 `protobuf:"varint,3,opt,name=feed_num,json=feedNum,proto3" json:"feed_num,omitempty"` // 返回视频的数量 // contains filtered or unexported fields }
func (*FeedShortVideoRequest) Descriptor
deprecated
func (*FeedShortVideoRequest) Descriptor() ([]byte, []int)
Deprecated: Use FeedShortVideoRequest.ProtoReflect.Descriptor instead.
func (*FeedShortVideoRequest) GetFeedNum ¶
func (x *FeedShortVideoRequest) GetFeedNum() int64
func (*FeedShortVideoRequest) GetLatestTime ¶
func (x *FeedShortVideoRequest) GetLatestTime() int64
func (*FeedShortVideoRequest) GetUserId ¶
func (x *FeedShortVideoRequest) GetUserId() int64
func (*FeedShortVideoRequest) ProtoMessage ¶
func (*FeedShortVideoRequest) ProtoMessage()
func (*FeedShortVideoRequest) ProtoReflect ¶
func (x *FeedShortVideoRequest) ProtoReflect() protoreflect.Message
func (*FeedShortVideoRequest) Reset ¶
func (x *FeedShortVideoRequest) Reset()
func (*FeedShortVideoRequest) String ¶
func (x *FeedShortVideoRequest) String() string
type FeedShortVideoResponse ¶
type FeedShortVideoResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Videos []*Video `protobuf:"bytes,2,rep,name=videos,proto3" json:"videos,omitempty"` // contains filtered or unexported fields }
func (*FeedShortVideoResponse) Descriptor
deprecated
func (*FeedShortVideoResponse) Descriptor() ([]byte, []int)
Deprecated: Use FeedShortVideoResponse.ProtoReflect.Descriptor instead.
func (*FeedShortVideoResponse) GetMeta ¶
func (x *FeedShortVideoResponse) GetMeta() *Metadata
func (*FeedShortVideoResponse) GetVideos ¶
func (x *FeedShortVideoResponse) GetVideos() []*Video
func (*FeedShortVideoResponse) ProtoMessage ¶
func (*FeedShortVideoResponse) ProtoMessage()
func (*FeedShortVideoResponse) ProtoReflect ¶
func (x *FeedShortVideoResponse) ProtoReflect() protoreflect.Message
func (*FeedShortVideoResponse) Reset ¶
func (x *FeedShortVideoResponse) Reset()
func (*FeedShortVideoResponse) String ¶
func (x *FeedShortVideoResponse) String() string
type FollowServiceClient ¶
type FollowServiceClient interface { AddFollow(ctx context.Context, in *AddFollowRequest, opts ...grpc.CallOption) (*AddFollowResponse, error) RemoveFollow(ctx context.Context, in *RemoveFollowRequest, opts ...grpc.CallOption) (*RemoveFollowResponse, error) ListFollowing(ctx context.Context, in *ListFollowingRequest, opts ...grpc.CallOption) (*ListFollowingResponse, error) IsFollowing(ctx context.Context, in *IsFollowingRequest, opts ...grpc.CallOption) (*IsFollowingResponse, error) CountFollow(ctx context.Context, in *CountFollowRequest, opts ...grpc.CallOption) (*CountFollowResponse, error) }
FollowServiceClient is the client API for FollowService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewFollowServiceClient ¶
func NewFollowServiceClient(cc grpc.ClientConnInterface) FollowServiceClient
type FollowServiceServer ¶
type FollowServiceServer interface { AddFollow(context.Context, *AddFollowRequest) (*AddFollowResponse, error) RemoveFollow(context.Context, *RemoveFollowRequest) (*RemoveFollowResponse, error) ListFollowing(context.Context, *ListFollowingRequest) (*ListFollowingResponse, error) IsFollowing(context.Context, *IsFollowingRequest) (*IsFollowingResponse, error) CountFollow(context.Context, *CountFollowRequest) (*CountFollowResponse, error) // contains filtered or unexported methods }
FollowServiceServer is the server API for FollowService service. All implementations must embed UnimplementedFollowServiceServer for forward compatibility.
type FollowType ¶
type FollowType int32
const ( FollowType_FOLLOWING FollowType = 0 FollowType_FOLLOWER FollowType = 1 FollowType_BOTH FollowType = 2 )
func (FollowType) Descriptor ¶
func (FollowType) Descriptor() protoreflect.EnumDescriptor
func (FollowType) Enum ¶
func (x FollowType) Enum() *FollowType
func (FollowType) EnumDescriptor
deprecated
func (FollowType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FollowType.Descriptor instead.
func (FollowType) Number ¶
func (x FollowType) Number() protoreflect.EnumNumber
func (FollowType) String ¶
func (x FollowType) String() string
func (FollowType) Type ¶
func (FollowType) Type() protoreflect.EnumType
type GetCollectionByIdRequest ¶
type GetCollectionByIdRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetCollectionByIdRequest) Descriptor
deprecated
func (*GetCollectionByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCollectionByIdRequest.ProtoReflect.Descriptor instead.
func (*GetCollectionByIdRequest) GetId ¶
func (x *GetCollectionByIdRequest) GetId() int64
func (*GetCollectionByIdRequest) ProtoMessage ¶
func (*GetCollectionByIdRequest) ProtoMessage()
func (*GetCollectionByIdRequest) ProtoReflect ¶
func (x *GetCollectionByIdRequest) ProtoReflect() protoreflect.Message
func (*GetCollectionByIdRequest) Reset ¶
func (x *GetCollectionByIdRequest) Reset()
func (*GetCollectionByIdRequest) String ¶
func (x *GetCollectionByIdRequest) String() string
type GetCollectionByIdResponse ¶
type GetCollectionByIdResponse struct { Collection *Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` Meta *Metadata `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*GetCollectionByIdResponse) Descriptor
deprecated
func (*GetCollectionByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCollectionByIdResponse.ProtoReflect.Descriptor instead.
func (*GetCollectionByIdResponse) GetCollection ¶
func (x *GetCollectionByIdResponse) GetCollection() *Collection
func (*GetCollectionByIdResponse) GetMeta ¶
func (x *GetCollectionByIdResponse) GetMeta() *Metadata
func (*GetCollectionByIdResponse) ProtoMessage ¶
func (*GetCollectionByIdResponse) ProtoMessage()
func (*GetCollectionByIdResponse) ProtoReflect ¶
func (x *GetCollectionByIdResponse) ProtoReflect() protoreflect.Message
func (*GetCollectionByIdResponse) Reset ¶
func (x *GetCollectionByIdResponse) Reset()
func (*GetCollectionByIdResponse) String ¶
func (x *GetCollectionByIdResponse) String() string
type GetCommentByIdRequest ¶
type GetCommentByIdRequest struct { CommentId int64 `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` // 评论id // contains filtered or unexported fields }
func (*GetCommentByIdRequest) Descriptor
deprecated
func (*GetCommentByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCommentByIdRequest.ProtoReflect.Descriptor instead.
func (*GetCommentByIdRequest) GetCommentId ¶
func (x *GetCommentByIdRequest) GetCommentId() int64
func (*GetCommentByIdRequest) ProtoMessage ¶
func (*GetCommentByIdRequest) ProtoMessage()
func (*GetCommentByIdRequest) ProtoReflect ¶
func (x *GetCommentByIdRequest) ProtoReflect() protoreflect.Message
func (*GetCommentByIdRequest) Reset ¶
func (x *GetCommentByIdRequest) Reset()
func (*GetCommentByIdRequest) String ¶
func (x *GetCommentByIdRequest) String() string
type GetCommentByIdResponse ¶
type GetCommentByIdResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Comment *Comment `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*GetCommentByIdResponse) Descriptor
deprecated
func (*GetCommentByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCommentByIdResponse.ProtoReflect.Descriptor instead.
func (*GetCommentByIdResponse) GetComment ¶
func (x *GetCommentByIdResponse) GetComment() *Comment
func (*GetCommentByIdResponse) GetMeta ¶
func (x *GetCommentByIdResponse) GetMeta() *Metadata
func (*GetCommentByIdResponse) ProtoMessage ¶
func (*GetCommentByIdResponse) ProtoMessage()
func (*GetCommentByIdResponse) ProtoReflect ¶
func (x *GetCommentByIdResponse) ProtoReflect() protoreflect.Message
func (*GetCommentByIdResponse) Reset ¶
func (x *GetCommentByIdResponse) Reset()
func (*GetCommentByIdResponse) String ¶
func (x *GetCommentByIdResponse) String() string
type GetUserByIdListRequest ¶
type GetUserByIdListRequest struct { UserIdList []int64 `protobuf:"varint,1,rep,packed,name=user_id_list,json=userIdList,proto3" json:"user_id_list,omitempty"` // contains filtered or unexported fields }
func (*GetUserByIdListRequest) Descriptor
deprecated
func (*GetUserByIdListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByIdListRequest.ProtoReflect.Descriptor instead.
func (*GetUserByIdListRequest) GetUserIdList ¶
func (x *GetUserByIdListRequest) GetUserIdList() []int64
func (*GetUserByIdListRequest) ProtoMessage ¶
func (*GetUserByIdListRequest) ProtoMessage()
func (*GetUserByIdListRequest) ProtoReflect ¶
func (x *GetUserByIdListRequest) ProtoReflect() protoreflect.Message
func (*GetUserByIdListRequest) Reset ¶
func (x *GetUserByIdListRequest) Reset()
func (*GetUserByIdListRequest) String ¶
func (x *GetUserByIdListRequest) String() string
type GetUserByIdListResponse ¶
type GetUserByIdListResponse struct { UserList []*User `protobuf:"bytes,1,rep,name=user_list,json=userList,proto3" json:"user_list,omitempty"` Meta *Metadata `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*GetUserByIdListResponse) Descriptor
deprecated
func (*GetUserByIdListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByIdListResponse.ProtoReflect.Descriptor instead.
func (*GetUserByIdListResponse) GetMeta ¶
func (x *GetUserByIdListResponse) GetMeta() *Metadata
func (*GetUserByIdListResponse) GetUserList ¶
func (x *GetUserByIdListResponse) GetUserList() []*User
func (*GetUserByIdListResponse) ProtoMessage ¶
func (*GetUserByIdListResponse) ProtoMessage()
func (*GetUserByIdListResponse) ProtoReflect ¶
func (x *GetUserByIdListResponse) ProtoReflect() protoreflect.Message
func (*GetUserByIdListResponse) Reset ¶
func (x *GetUserByIdListResponse) Reset()
func (*GetUserByIdListResponse) String ¶
func (x *GetUserByIdListResponse) String() string
type GetUserInfoRequest ¶
type GetUserInfoRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` AccountId int64 `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*GetUserInfoRequest) Descriptor
deprecated
func (*GetUserInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserInfoRequest.ProtoReflect.Descriptor instead.
func (*GetUserInfoRequest) GetAccountId ¶
func (x *GetUserInfoRequest) GetAccountId() int64
func (*GetUserInfoRequest) GetUserId ¶
func (x *GetUserInfoRequest) GetUserId() int64
func (*GetUserInfoRequest) ProtoMessage ¶
func (*GetUserInfoRequest) ProtoMessage()
func (*GetUserInfoRequest) ProtoReflect ¶
func (x *GetUserInfoRequest) ProtoReflect() protoreflect.Message
func (*GetUserInfoRequest) Reset ¶
func (x *GetUserInfoRequest) Reset()
func (*GetUserInfoRequest) String ¶
func (x *GetUserInfoRequest) String() string
type GetUserInfoResponse ¶
type GetUserInfoResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserInfoResponse) Descriptor
deprecated
func (*GetUserInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserInfoResponse.ProtoReflect.Descriptor instead.
func (*GetUserInfoResponse) GetMeta ¶
func (x *GetUserInfoResponse) GetMeta() *Metadata
func (*GetUserInfoResponse) GetUser ¶
func (x *GetUserInfoResponse) GetUser() *User
func (*GetUserInfoResponse) ProtoMessage ¶
func (*GetUserInfoResponse) ProtoMessage()
func (*GetUserInfoResponse) ProtoReflect ¶
func (x *GetUserInfoResponse) ProtoReflect() protoreflect.Message
func (*GetUserInfoResponse) Reset ¶
func (x *GetUserInfoResponse) Reset()
func (*GetUserInfoResponse) String ¶
func (x *GetUserInfoResponse) String() string
type GetVideoByIdListRequest ¶
type GetVideoByIdListRequest struct { VideoIdList []int64 `protobuf:"varint,1,rep,packed,name=video_id_list,json=videoIdList,proto3" json:"video_id_list,omitempty"` // contains filtered or unexported fields }
func (*GetVideoByIdListRequest) Descriptor
deprecated
func (*GetVideoByIdListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVideoByIdListRequest.ProtoReflect.Descriptor instead.
func (*GetVideoByIdListRequest) GetVideoIdList ¶
func (x *GetVideoByIdListRequest) GetVideoIdList() []int64
func (*GetVideoByIdListRequest) ProtoMessage ¶
func (*GetVideoByIdListRequest) ProtoMessage()
func (*GetVideoByIdListRequest) ProtoReflect ¶
func (x *GetVideoByIdListRequest) ProtoReflect() protoreflect.Message
func (*GetVideoByIdListRequest) Reset ¶
func (x *GetVideoByIdListRequest) Reset()
func (*GetVideoByIdListRequest) String ¶
func (x *GetVideoByIdListRequest) String() string
type GetVideoByIdListResponse ¶
type GetVideoByIdListResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Videos []*Video `protobuf:"bytes,2,rep,name=videos,proto3" json:"videos,omitempty"` // contains filtered or unexported fields }
func (*GetVideoByIdListResponse) Descriptor
deprecated
func (*GetVideoByIdListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVideoByIdListResponse.ProtoReflect.Descriptor instead.
func (*GetVideoByIdListResponse) GetMeta ¶
func (x *GetVideoByIdListResponse) GetMeta() *Metadata
func (*GetVideoByIdListResponse) GetVideos ¶
func (x *GetVideoByIdListResponse) GetVideos() []*Video
func (*GetVideoByIdListResponse) ProtoMessage ¶
func (*GetVideoByIdListResponse) ProtoMessage()
func (*GetVideoByIdListResponse) ProtoReflect ¶
func (x *GetVideoByIdListResponse) ProtoReflect() protoreflect.Message
func (*GetVideoByIdListResponse) Reset ¶
func (x *GetVideoByIdListResponse) Reset()
func (*GetVideoByIdListResponse) String ¶
func (x *GetVideoByIdListResponse) String() string
type GetVideoByIdRequest ¶
type GetVideoByIdRequest struct { VideoId int64 `protobuf:"varint,1,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` // contains filtered or unexported fields }
func (*GetVideoByIdRequest) Descriptor
deprecated
func (*GetVideoByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVideoByIdRequest.ProtoReflect.Descriptor instead.
func (*GetVideoByIdRequest) GetVideoId ¶
func (x *GetVideoByIdRequest) GetVideoId() int64
func (*GetVideoByIdRequest) ProtoMessage ¶
func (*GetVideoByIdRequest) ProtoMessage()
func (*GetVideoByIdRequest) ProtoReflect ¶
func (x *GetVideoByIdRequest) ProtoReflect() protoreflect.Message
func (*GetVideoByIdRequest) Reset ¶
func (x *GetVideoByIdRequest) Reset()
func (*GetVideoByIdRequest) String ¶
func (x *GetVideoByIdRequest) String() string
type GetVideoByIdResponse ¶
type GetVideoByIdResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Video *Video `protobuf:"bytes,2,opt,name=video,proto3" json:"video,omitempty"` // contains filtered or unexported fields }
func (*GetVideoByIdResponse) Descriptor
deprecated
func (*GetVideoByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVideoByIdResponse.ProtoReflect.Descriptor instead.
func (*GetVideoByIdResponse) GetMeta ¶
func (x *GetVideoByIdResponse) GetMeta() *Metadata
func (*GetVideoByIdResponse) GetVideo ¶
func (x *GetVideoByIdResponse) GetVideo() *Video
func (*GetVideoByIdResponse) ProtoMessage ¶
func (*GetVideoByIdResponse) ProtoMessage()
func (*GetVideoByIdResponse) ProtoReflect ¶
func (x *GetVideoByIdResponse) ProtoReflect() protoreflect.Message
func (*GetVideoByIdResponse) Reset ¶
func (x *GetVideoByIdResponse) Reset()
func (*GetVideoByIdResponse) String ¶
func (x *GetVideoByIdResponse) String() string
type IncrReadCountRequest ¶
type IncrReadCountRequest struct { Biz string `protobuf:"bytes,1,opt,name=biz,proto3" json:"biz,omitempty"` BizId int64 `protobuf:"varint,2,opt,name=biz_id,json=bizId,proto3" json:"biz_id,omitempty"` // contains filtered or unexported fields }
func (*IncrReadCountRequest) Descriptor
deprecated
func (*IncrReadCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use IncrReadCountRequest.ProtoReflect.Descriptor instead.
func (*IncrReadCountRequest) GetBiz ¶
func (x *IncrReadCountRequest) GetBiz() string
func (*IncrReadCountRequest) GetBizId ¶
func (x *IncrReadCountRequest) GetBizId() int64
func (*IncrReadCountRequest) ProtoMessage ¶
func (*IncrReadCountRequest) ProtoMessage()
func (*IncrReadCountRequest) ProtoReflect ¶
func (x *IncrReadCountRequest) ProtoReflect() protoreflect.Message
func (*IncrReadCountRequest) Reset ¶
func (x *IncrReadCountRequest) Reset()
func (*IncrReadCountRequest) String ¶
func (x *IncrReadCountRequest) String() string
type IncrReadCountResponse ¶
type IncrReadCountResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*IncrReadCountResponse) Descriptor
deprecated
func (*IncrReadCountResponse) Descriptor() ([]byte, []int)
Deprecated: Use IncrReadCountResponse.ProtoReflect.Descriptor instead.
func (*IncrReadCountResponse) GetMeta ¶
func (x *IncrReadCountResponse) GetMeta() *Metadata
func (*IncrReadCountResponse) ProtoMessage ¶
func (*IncrReadCountResponse) ProtoMessage()
func (*IncrReadCountResponse) ProtoReflect ¶
func (x *IncrReadCountResponse) ProtoReflect() protoreflect.Message
func (*IncrReadCountResponse) Reset ¶
func (x *IncrReadCountResponse) Reset()
func (*IncrReadCountResponse) String ¶
func (x *IncrReadCountResponse) String() string
type InterServiceClient ¶
type InterServiceClient interface { IncrReadCount(ctx context.Context, in *IncrReadCountRequest, opts ...grpc.CallOption) (*IncrReadCountResponse, error) Like(ctx context.Context, in *LikeRequest, opts ...grpc.CallOption) (*LikeResponse, error) CancelLike(ctx context.Context, in *CancelLikeRequest, opts ...grpc.CallOption) (*CancelLikeResponse, error) Collect(ctx context.Context, in *CollectRequest, opts ...grpc.CallOption) (*CollectResponse, error) CancelCollect(ctx context.Context, in *CancelCollectRequest, opts ...grpc.CallOption) (*CancelCollectResponse, error) Stat(ctx context.Context, in *StatRequest, opts ...grpc.CallOption) (*StatResponse, error) }
InterServiceClient is the client API for InterService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewInterServiceClient ¶
func NewInterServiceClient(cc grpc.ClientConnInterface) InterServiceClient
type InterServiceServer ¶
type InterServiceServer interface { IncrReadCount(context.Context, *IncrReadCountRequest) (*IncrReadCountResponse, error) Like(context.Context, *LikeRequest) (*LikeResponse, error) CancelLike(context.Context, *CancelLikeRequest) (*CancelLikeResponse, error) Collect(context.Context, *CollectRequest) (*CollectResponse, error) CancelCollect(context.Context, *CancelCollectRequest) (*CancelCollectResponse, error) Stat(context.Context, *StatRequest) (*StatResponse, error) // contains filtered or unexported methods }
InterServiceServer is the server API for InterService service. All implementations must embed UnimplementedInterServiceServer for forward compatibility.
type IsCollectedRequest ¶
type IsCollectedRequest 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 (*IsCollectedRequest) Descriptor
deprecated
func (*IsCollectedRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsCollectedRequest.ProtoReflect.Descriptor instead.
func (*IsCollectedRequest) GetUserId ¶
func (x *IsCollectedRequest) GetUserId() int64
func (*IsCollectedRequest) GetVideoIdList ¶
func (x *IsCollectedRequest) GetVideoIdList() []int64
func (*IsCollectedRequest) ProtoMessage ¶
func (*IsCollectedRequest) ProtoMessage()
func (*IsCollectedRequest) ProtoReflect ¶
func (x *IsCollectedRequest) ProtoReflect() protoreflect.Message
func (*IsCollectedRequest) Reset ¶
func (x *IsCollectedRequest) Reset()
func (*IsCollectedRequest) String ¶
func (x *IsCollectedRequest) String() string
type IsCollectedResponse ¶
type IsCollectedResponse struct { VideoIdList []int64 `protobuf:"varint,1,rep,packed,name=video_id_list,json=videoIdList,proto3" json:"video_id_list,omitempty"` Meta *Metadata `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*IsCollectedResponse) Descriptor
deprecated
func (*IsCollectedResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsCollectedResponse.ProtoReflect.Descriptor instead.
func (*IsCollectedResponse) GetMeta ¶
func (x *IsCollectedResponse) GetMeta() *Metadata
func (*IsCollectedResponse) GetVideoIdList ¶
func (x *IsCollectedResponse) GetVideoIdList() []int64
func (*IsCollectedResponse) ProtoMessage ¶
func (*IsCollectedResponse) ProtoMessage()
func (*IsCollectedResponse) ProtoReflect ¶
func (x *IsCollectedResponse) ProtoReflect() protoreflect.Message
func (*IsCollectedResponse) Reset ¶
func (x *IsCollectedResponse) Reset()
func (*IsCollectedResponse) String ¶
func (x *IsCollectedResponse) String() string
type IsFollowingRequest ¶
type IsFollowingRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` TargetUserIdList []int64 `protobuf:"varint,2,rep,packed,name=target_user_id_list,json=targetUserIdList,proto3" json:"target_user_id_list,omitempty"` // contains filtered or unexported fields }
func (*IsFollowingRequest) Descriptor
deprecated
func (*IsFollowingRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsFollowingRequest.ProtoReflect.Descriptor instead.
func (*IsFollowingRequest) GetTargetUserIdList ¶
func (x *IsFollowingRequest) GetTargetUserIdList() []int64
func (*IsFollowingRequest) GetUserId ¶
func (x *IsFollowingRequest) GetUserId() int64
func (*IsFollowingRequest) ProtoMessage ¶
func (*IsFollowingRequest) ProtoMessage()
func (*IsFollowingRequest) ProtoReflect ¶
func (x *IsFollowingRequest) ProtoReflect() protoreflect.Message
func (*IsFollowingRequest) Reset ¶
func (x *IsFollowingRequest) Reset()
func (*IsFollowingRequest) String ¶
func (x *IsFollowingRequest) String() string
type IsFollowingResponse ¶
type IsFollowingResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` FollowingList []int64 `protobuf:"varint,2,rep,packed,name=following_list,json=followingList,proto3" json:"following_list,omitempty"` // contains filtered or unexported fields }
func (*IsFollowingResponse) Descriptor
deprecated
func (*IsFollowingResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsFollowingResponse.ProtoReflect.Descriptor instead.
func (*IsFollowingResponse) GetFollowingList ¶
func (x *IsFollowingResponse) GetFollowingList() []int64
func (*IsFollowingResponse) GetMeta ¶
func (x *IsFollowingResponse) GetMeta() *Metadata
func (*IsFollowingResponse) ProtoMessage ¶
func (*IsFollowingResponse) ProtoMessage()
func (*IsFollowingResponse) ProtoReflect ¶
func (x *IsFollowingResponse) ProtoReflect() protoreflect.Message
func (*IsFollowingResponse) Reset ¶
func (x *IsFollowingResponse) Reset()
func (*IsFollowingResponse) String ¶
func (x *IsFollowingResponse) String() string
type LikeRequest ¶
type LikeRequest struct { Biz string `protobuf:"bytes,1,opt,name=biz,proto3" json:"biz,omitempty"` BizId int64 `protobuf:"varint,2,opt,name=biz_id,json=bizId,proto3" json:"biz_id,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*LikeRequest) Descriptor
deprecated
func (*LikeRequest) Descriptor() ([]byte, []int)
Deprecated: Use LikeRequest.ProtoReflect.Descriptor instead.
func (*LikeRequest) GetBiz ¶
func (x *LikeRequest) GetBiz() string
func (*LikeRequest) GetBizId ¶
func (x *LikeRequest) GetBizId() int64
func (*LikeRequest) GetUserId ¶
func (x *LikeRequest) GetUserId() int64
func (*LikeRequest) ProtoMessage ¶
func (*LikeRequest) ProtoMessage()
func (*LikeRequest) ProtoReflect ¶
func (x *LikeRequest) ProtoReflect() protoreflect.Message
func (*LikeRequest) Reset ¶
func (x *LikeRequest) Reset()
func (*LikeRequest) String ¶
func (x *LikeRequest) String() string
type LikeResponse ¶
type LikeResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*LikeResponse) Descriptor
deprecated
func (*LikeResponse) Descriptor() ([]byte, []int)
Deprecated: Use LikeResponse.ProtoReflect.Descriptor instead.
func (*LikeResponse) GetMeta ¶
func (x *LikeResponse) GetMeta() *Metadata
func (*LikeResponse) ProtoMessage ¶
func (*LikeResponse) ProtoMessage()
func (*LikeResponse) ProtoReflect ¶
func (x *LikeResponse) ProtoReflect() protoreflect.Message
func (*LikeResponse) Reset ¶
func (x *LikeResponse) Reset()
func (*LikeResponse) String ¶
func (x *LikeResponse) String() string
type ListChildComment4CommentRequest ¶
type ListChildComment4CommentRequest struct { CommentId int64 `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` Pagination *PaginationRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListChildComment4CommentRequest) Descriptor
deprecated
func (*ListChildComment4CommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChildComment4CommentRequest.ProtoReflect.Descriptor instead.
func (*ListChildComment4CommentRequest) GetCommentId ¶
func (x *ListChildComment4CommentRequest) GetCommentId() int64
func (*ListChildComment4CommentRequest) GetPagination ¶
func (x *ListChildComment4CommentRequest) GetPagination() *PaginationRequest
func (*ListChildComment4CommentRequest) ProtoMessage ¶
func (*ListChildComment4CommentRequest) ProtoMessage()
func (*ListChildComment4CommentRequest) ProtoReflect ¶
func (x *ListChildComment4CommentRequest) ProtoReflect() protoreflect.Message
func (*ListChildComment4CommentRequest) Reset ¶
func (x *ListChildComment4CommentRequest) Reset()
func (*ListChildComment4CommentRequest) String ¶
func (x *ListChildComment4CommentRequest) String() string
type ListChildComment4CommentResponse ¶
type ListChildComment4CommentResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Comments []*Comment `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"` Pagination *PaginationResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListChildComment4CommentResponse) Descriptor
deprecated
func (*ListChildComment4CommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListChildComment4CommentResponse.ProtoReflect.Descriptor instead.
func (*ListChildComment4CommentResponse) GetComments ¶
func (x *ListChildComment4CommentResponse) GetComments() []*Comment
func (*ListChildComment4CommentResponse) GetMeta ¶
func (x *ListChildComment4CommentResponse) GetMeta() *Metadata
func (*ListChildComment4CommentResponse) GetPagination ¶
func (x *ListChildComment4CommentResponse) GetPagination() *PaginationResponse
func (*ListChildComment4CommentResponse) ProtoMessage ¶
func (*ListChildComment4CommentResponse) ProtoMessage()
func (*ListChildComment4CommentResponse) ProtoReflect ¶
func (x *ListChildComment4CommentResponse) ProtoReflect() protoreflect.Message
func (*ListChildComment4CommentResponse) Reset ¶
func (x *ListChildComment4CommentResponse) Reset()
func (*ListChildComment4CommentResponse) String ¶
func (x *ListChildComment4CommentResponse) String() string
type ListCollectionRequest ¶
type ListCollectionRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Pagination *PaginationRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListCollectionRequest) Descriptor
deprecated
func (*ListCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCollectionRequest.ProtoReflect.Descriptor instead.
func (*ListCollectionRequest) GetPagination ¶
func (x *ListCollectionRequest) GetPagination() *PaginationRequest
func (*ListCollectionRequest) GetUserId ¶
func (x *ListCollectionRequest) GetUserId() int64
func (*ListCollectionRequest) ProtoMessage ¶
func (*ListCollectionRequest) ProtoMessage()
func (*ListCollectionRequest) ProtoReflect ¶
func (x *ListCollectionRequest) ProtoReflect() protoreflect.Message
func (*ListCollectionRequest) Reset ¶
func (x *ListCollectionRequest) Reset()
func (*ListCollectionRequest) String ¶
func (x *ListCollectionRequest) String() string
type ListCollectionResponse ¶
type ListCollectionResponse struct { Collections []*Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"` Meta *Metadata `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` Pagination *PaginationResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListCollectionResponse) Descriptor
deprecated
func (*ListCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCollectionResponse.ProtoReflect.Descriptor instead.
func (*ListCollectionResponse) GetCollections ¶
func (x *ListCollectionResponse) GetCollections() []*Collection
func (*ListCollectionResponse) GetMeta ¶
func (x *ListCollectionResponse) GetMeta() *Metadata
func (*ListCollectionResponse) GetPagination ¶
func (x *ListCollectionResponse) GetPagination() *PaginationResponse
func (*ListCollectionResponse) ProtoMessage ¶
func (*ListCollectionResponse) ProtoMessage()
func (*ListCollectionResponse) ProtoReflect ¶
func (x *ListCollectionResponse) ProtoReflect() protoreflect.Message
func (*ListCollectionResponse) Reset ¶
func (x *ListCollectionResponse) Reset()
func (*ListCollectionResponse) String ¶
func (x *ListCollectionResponse) String() string
type ListCollectionVideoRequest ¶
type ListCollectionVideoRequest struct { CollectionId int64 `protobuf:"varint,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` Pagination *PaginationRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListCollectionVideoRequest) Descriptor
deprecated
func (*ListCollectionVideoRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCollectionVideoRequest.ProtoReflect.Descriptor instead.
func (*ListCollectionVideoRequest) GetCollectionId ¶
func (x *ListCollectionVideoRequest) GetCollectionId() int64
func (*ListCollectionVideoRequest) GetPagination ¶
func (x *ListCollectionVideoRequest) GetPagination() *PaginationRequest
func (*ListCollectionVideoRequest) ProtoMessage ¶
func (*ListCollectionVideoRequest) ProtoMessage()
func (*ListCollectionVideoRequest) ProtoReflect ¶
func (x *ListCollectionVideoRequest) ProtoReflect() protoreflect.Message
func (*ListCollectionVideoRequest) Reset ¶
func (x *ListCollectionVideoRequest) Reset()
func (*ListCollectionVideoRequest) String ¶
func (x *ListCollectionVideoRequest) String() string
type ListCollectionVideoResponse ¶
type ListCollectionVideoResponse struct { VideoIdList []int64 `protobuf:"varint,1,rep,packed,name=video_id_list,json=videoIdList,proto3" json:"video_id_list,omitempty"` Meta *Metadata `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` Pagination *PaginationResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListCollectionVideoResponse) Descriptor
deprecated
func (*ListCollectionVideoResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCollectionVideoResponse.ProtoReflect.Descriptor instead.
func (*ListCollectionVideoResponse) GetMeta ¶
func (x *ListCollectionVideoResponse) GetMeta() *Metadata
func (*ListCollectionVideoResponse) GetPagination ¶
func (x *ListCollectionVideoResponse) GetPagination() *PaginationResponse
func (*ListCollectionVideoResponse) GetVideoIdList ¶
func (x *ListCollectionVideoResponse) GetVideoIdList() []int64
func (*ListCollectionVideoResponse) ProtoMessage ¶
func (*ListCollectionVideoResponse) ProtoMessage()
func (*ListCollectionVideoResponse) ProtoReflect ¶
func (x *ListCollectionVideoResponse) ProtoReflect() protoreflect.Message
func (*ListCollectionVideoResponse) Reset ¶
func (x *ListCollectionVideoResponse) Reset()
func (*ListCollectionVideoResponse) String ¶
func (x *ListCollectionVideoResponse) String() string
type ListComment4VideoRequest ¶
type ListComment4VideoRequest struct { VideoId int64 `protobuf:"varint,1,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` // 视频id Pagination *PaginationRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListComment4VideoRequest) Descriptor
deprecated
func (*ListComment4VideoRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListComment4VideoRequest.ProtoReflect.Descriptor instead.
func (*ListComment4VideoRequest) GetPagination ¶
func (x *ListComment4VideoRequest) GetPagination() *PaginationRequest
func (*ListComment4VideoRequest) GetVideoId ¶
func (x *ListComment4VideoRequest) GetVideoId() int64
func (*ListComment4VideoRequest) ProtoMessage ¶
func (*ListComment4VideoRequest) ProtoMessage()
func (*ListComment4VideoRequest) ProtoReflect ¶
func (x *ListComment4VideoRequest) ProtoReflect() protoreflect.Message
func (*ListComment4VideoRequest) Reset ¶
func (x *ListComment4VideoRequest) Reset()
func (*ListComment4VideoRequest) String ¶
func (x *ListComment4VideoRequest) String() string
type ListComment4VideoResponse ¶
type ListComment4VideoResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Comments []*Comment `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"` Pagination *PaginationResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListComment4VideoResponse) Descriptor
deprecated
func (*ListComment4VideoResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListComment4VideoResponse.ProtoReflect.Descriptor instead.
func (*ListComment4VideoResponse) GetComments ¶
func (x *ListComment4VideoResponse) GetComments() []*Comment
func (*ListComment4VideoResponse) GetMeta ¶
func (x *ListComment4VideoResponse) GetMeta() *Metadata
func (*ListComment4VideoResponse) GetPagination ¶
func (x *ListComment4VideoResponse) GetPagination() *PaginationResponse
func (*ListComment4VideoResponse) ProtoMessage ¶
func (*ListComment4VideoResponse) ProtoMessage()
func (*ListComment4VideoResponse) ProtoReflect ¶
func (x *ListComment4VideoResponse) ProtoReflect() protoreflect.Message
func (*ListComment4VideoResponse) Reset ¶
func (x *ListComment4VideoResponse) Reset()
func (*ListComment4VideoResponse) String ¶
func (x *ListComment4VideoResponse) String() string
type ListFollowingRequest ¶
type ListFollowingRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` FollowType FollowType `protobuf:"varint,2,opt,name=follow_type,json=followType,proto3,enum=coreService.v1.FollowType" json:"follow_type,omitempty"` Pagination *PaginationRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListFollowingRequest) Descriptor
deprecated
func (*ListFollowingRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFollowingRequest.ProtoReflect.Descriptor instead.
func (*ListFollowingRequest) GetFollowType ¶
func (x *ListFollowingRequest) GetFollowType() FollowType
func (*ListFollowingRequest) GetPagination ¶
func (x *ListFollowingRequest) GetPagination() *PaginationRequest
func (*ListFollowingRequest) GetUserId ¶
func (x *ListFollowingRequest) GetUserId() int64
func (*ListFollowingRequest) ProtoMessage ¶
func (*ListFollowingRequest) ProtoMessage()
func (*ListFollowingRequest) ProtoReflect ¶
func (x *ListFollowingRequest) ProtoReflect() protoreflect.Message
func (*ListFollowingRequest) Reset ¶
func (x *ListFollowingRequest) Reset()
func (*ListFollowingRequest) String ¶
func (x *ListFollowingRequest) String() string
type ListFollowingResponse ¶
type ListFollowingResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` UserIdList []int64 `protobuf:"varint,2,rep,packed,name=user_id_list,json=userIdList,proto3" json:"user_id_list,omitempty"` Pagination *PaginationResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListFollowingResponse) Descriptor
deprecated
func (*ListFollowingResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFollowingResponse.ProtoReflect.Descriptor instead.
func (*ListFollowingResponse) GetMeta ¶
func (x *ListFollowingResponse) GetMeta() *Metadata
func (*ListFollowingResponse) GetPagination ¶
func (x *ListFollowingResponse) GetPagination() *PaginationResponse
func (*ListFollowingResponse) GetUserIdList ¶
func (x *ListFollowingResponse) GetUserIdList() []int64
func (*ListFollowingResponse) ProtoMessage ¶
func (*ListFollowingResponse) ProtoMessage()
func (*ListFollowingResponse) ProtoReflect ¶
func (x *ListFollowingResponse) ProtoReflect() protoreflect.Message
func (*ListFollowingResponse) Reset ¶
func (x *ListFollowingResponse) Reset()
func (*ListFollowingResponse) String ¶
func (x *ListFollowingResponse) String() string
type ListPublishedVideoRequest ¶
type ListPublishedVideoRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` LatestTime int64 `protobuf:"varint,2,opt,name=latest_time,json=latestTime,proto3" json:"latest_time,omitempty"` // 可选参数,限制返回视频的最新投稿时间戳,精确到秒,不填表示当前时间 Pagination *PaginationRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListPublishedVideoRequest) Descriptor
deprecated
func (*ListPublishedVideoRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPublishedVideoRequest.ProtoReflect.Descriptor instead.
func (*ListPublishedVideoRequest) GetLatestTime ¶
func (x *ListPublishedVideoRequest) GetLatestTime() int64
func (*ListPublishedVideoRequest) GetPagination ¶
func (x *ListPublishedVideoRequest) GetPagination() *PaginationRequest
func (*ListPublishedVideoRequest) GetUserId ¶
func (x *ListPublishedVideoRequest) GetUserId() int64
func (*ListPublishedVideoRequest) ProtoMessage ¶
func (*ListPublishedVideoRequest) ProtoMessage()
func (*ListPublishedVideoRequest) ProtoReflect ¶
func (x *ListPublishedVideoRequest) ProtoReflect() protoreflect.Message
func (*ListPublishedVideoRequest) Reset ¶
func (x *ListPublishedVideoRequest) Reset()
func (*ListPublishedVideoRequest) String ¶
func (x *ListPublishedVideoRequest) String() string
type ListPublishedVideoResponse ¶
type ListPublishedVideoResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Videos []*Video `protobuf:"bytes,2,rep,name=videos,proto3" json:"videos,omitempty"` Pagination *PaginationResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListPublishedVideoResponse) Descriptor
deprecated
func (*ListPublishedVideoResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPublishedVideoResponse.ProtoReflect.Descriptor instead.
func (*ListPublishedVideoResponse) GetMeta ¶
func (x *ListPublishedVideoResponse) GetMeta() *Metadata
func (*ListPublishedVideoResponse) GetPagination ¶
func (x *ListPublishedVideoResponse) GetPagination() *PaginationResponse
func (*ListPublishedVideoResponse) GetVideos ¶
func (x *ListPublishedVideoResponse) GetVideos() []*Video
func (*ListPublishedVideoResponse) ProtoMessage ¶
func (*ListPublishedVideoResponse) ProtoMessage()
func (*ListPublishedVideoResponse) ProtoReflect ¶
func (x *ListPublishedVideoResponse) ProtoReflect() protoreflect.Message
func (*ListPublishedVideoResponse) Reset ¶
func (x *ListPublishedVideoResponse) Reset()
func (*ListPublishedVideoResponse) String ¶
func (x *ListPublishedVideoResponse) String() string
type Metadata ¶
type Metadata struct { BizCode int32 `protobuf:"varint,1,opt,name=biz_code,json=bizCode,proto3" json:"biz_code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` Reason []string `protobuf:"bytes,4,rep,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetBizCode ¶
func (*Metadata) GetMessage ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type PaginationRequest ¶
type PaginationRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 页码 [1, +∞) Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // 页面大小 Sort []*SortField `protobuf:"bytes,3,rep,name=sort,proto3" json:"sort,omitempty"` // 根据字段进行排序 // contains filtered or unexported fields }
func (*PaginationRequest) Descriptor
deprecated
func (*PaginationRequest) Descriptor() ([]byte, []int)
Deprecated: Use PaginationRequest.ProtoReflect.Descriptor instead.
func (*PaginationRequest) GetPage ¶
func (x *PaginationRequest) GetPage() int32
func (*PaginationRequest) GetSize ¶
func (x *PaginationRequest) GetSize() int32
func (*PaginationRequest) GetSort ¶
func (x *PaginationRequest) GetSort() []*SortField
func (*PaginationRequest) ProtoMessage ¶
func (*PaginationRequest) ProtoMessage()
func (*PaginationRequest) ProtoReflect ¶
func (x *PaginationRequest) ProtoReflect() protoreflect.Message
func (*PaginationRequest) Reset ¶
func (x *PaginationRequest) Reset()
func (*PaginationRequest) String ¶
func (x *PaginationRequest) String() string
type PaginationResponse ¶
type PaginationResponse struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 当前数据的所属页码 Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // 总页数 Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // 总条目数 // contains filtered or unexported fields }
func (*PaginationResponse) Descriptor
deprecated
func (*PaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use PaginationResponse.ProtoReflect.Descriptor instead.
func (*PaginationResponse) GetCount ¶
func (x *PaginationResponse) GetCount() int32
func (*PaginationResponse) GetPage ¶
func (x *PaginationResponse) GetPage() int32
func (*PaginationResponse) GetTotal ¶
func (x *PaginationResponse) GetTotal() int32
func (*PaginationResponse) ProtoMessage ¶
func (*PaginationResponse) ProtoMessage()
func (*PaginationResponse) ProtoReflect ¶
func (x *PaginationResponse) ProtoReflect() protoreflect.Message
func (*PaginationResponse) Reset ¶
func (x *PaginationResponse) Reset()
func (*PaginationResponse) String ¶
func (x *PaginationResponse) String() string
type PublishVideoRequest ¶
type PublishVideoRequest struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // 视频标题 CoverUrl string `protobuf:"bytes,2,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"` // 视频封面地址 PlayUrl string `protobuf:"bytes,3,opt,name=play_url,json=playUrl,proto3" json:"play_url,omitempty"` // 视频播放地址 Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // 视频描述 UserId int64 `protobuf:"varint,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 视频作者id // contains filtered or unexported fields }
func (*PublishVideoRequest) Descriptor
deprecated
func (*PublishVideoRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishVideoRequest.ProtoReflect.Descriptor instead.
func (*PublishVideoRequest) GetCoverUrl ¶
func (x *PublishVideoRequest) GetCoverUrl() string
func (*PublishVideoRequest) GetDescription ¶
func (x *PublishVideoRequest) GetDescription() string
func (*PublishVideoRequest) GetPlayUrl ¶
func (x *PublishVideoRequest) GetPlayUrl() string
func (*PublishVideoRequest) GetTitle ¶
func (x *PublishVideoRequest) GetTitle() string
func (*PublishVideoRequest) GetUserId ¶
func (x *PublishVideoRequest) GetUserId() int64
func (*PublishVideoRequest) ProtoMessage ¶
func (*PublishVideoRequest) ProtoMessage()
func (*PublishVideoRequest) ProtoReflect ¶
func (x *PublishVideoRequest) ProtoReflect() protoreflect.Message
func (*PublishVideoRequest) Reset ¶
func (x *PublishVideoRequest) Reset()
func (*PublishVideoRequest) String ¶
func (x *PublishVideoRequest) String() string
type PublishVideoResponse ¶
type PublishVideoResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` VideoId int64 `protobuf:"varint,2,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` // contains filtered or unexported fields }
func (*PublishVideoResponse) Descriptor
deprecated
func (*PublishVideoResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublishVideoResponse.ProtoReflect.Descriptor instead.
func (*PublishVideoResponse) GetMeta ¶
func (x *PublishVideoResponse) GetMeta() *Metadata
func (*PublishVideoResponse) GetVideoId ¶
func (x *PublishVideoResponse) GetVideoId() int64
func (*PublishVideoResponse) ProtoMessage ¶
func (*PublishVideoResponse) ProtoMessage()
func (*PublishVideoResponse) ProtoReflect ¶
func (x *PublishVideoResponse) ProtoReflect() protoreflect.Message
func (*PublishVideoResponse) Reset ¶
func (x *PublishVideoResponse) Reset()
func (*PublishVideoResponse) String ¶
func (x *PublishVideoResponse) String() string
type RemoveCollectionRequest ¶
type RemoveCollectionRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RemoveCollectionRequest) Descriptor
deprecated
func (*RemoveCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveCollectionRequest.ProtoReflect.Descriptor instead.
func (*RemoveCollectionRequest) GetId ¶
func (x *RemoveCollectionRequest) GetId() int64
func (*RemoveCollectionRequest) ProtoMessage ¶
func (*RemoveCollectionRequest) ProtoMessage()
func (*RemoveCollectionRequest) ProtoReflect ¶
func (x *RemoveCollectionRequest) ProtoReflect() protoreflect.Message
func (*RemoveCollectionRequest) Reset ¶
func (x *RemoveCollectionRequest) Reset()
func (*RemoveCollectionRequest) String ¶
func (x *RemoveCollectionRequest) String() string
type RemoveCollectionResponse ¶
type RemoveCollectionResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*RemoveCollectionResponse) Descriptor
deprecated
func (*RemoveCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveCollectionResponse.ProtoReflect.Descriptor instead.
func (*RemoveCollectionResponse) GetMeta ¶
func (x *RemoveCollectionResponse) GetMeta() *Metadata
func (*RemoveCollectionResponse) ProtoMessage ¶
func (*RemoveCollectionResponse) ProtoMessage()
func (*RemoveCollectionResponse) ProtoReflect ¶
func (x *RemoveCollectionResponse) ProtoReflect() protoreflect.Message
func (*RemoveCollectionResponse) Reset ¶
func (x *RemoveCollectionResponse) Reset()
func (*RemoveCollectionResponse) String ¶
func (x *RemoveCollectionResponse) String() string
type RemoveCommentRequest ¶
type RemoveCommentRequest struct { CommentId int64 `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` // 评论id UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id // contains filtered or unexported fields }
func (*RemoveCommentRequest) Descriptor
deprecated
func (*RemoveCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveCommentRequest.ProtoReflect.Descriptor instead.
func (*RemoveCommentRequest) GetCommentId ¶
func (x *RemoveCommentRequest) GetCommentId() int64
func (*RemoveCommentRequest) GetUserId ¶
func (x *RemoveCommentRequest) GetUserId() int64
func (*RemoveCommentRequest) ProtoMessage ¶
func (*RemoveCommentRequest) ProtoMessage()
func (*RemoveCommentRequest) ProtoReflect ¶
func (x *RemoveCommentRequest) ProtoReflect() protoreflect.Message
func (*RemoveCommentRequest) Reset ¶
func (x *RemoveCommentRequest) Reset()
func (*RemoveCommentRequest) String ¶
func (x *RemoveCommentRequest) String() string
type RemoveCommentResponse ¶
type RemoveCommentResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*RemoveCommentResponse) Descriptor
deprecated
func (*RemoveCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveCommentResponse.ProtoReflect.Descriptor instead.
func (*RemoveCommentResponse) GetMeta ¶
func (x *RemoveCommentResponse) GetMeta() *Metadata
func (*RemoveCommentResponse) ProtoMessage ¶
func (*RemoveCommentResponse) ProtoMessage()
func (*RemoveCommentResponse) ProtoReflect ¶
func (x *RemoveCommentResponse) ProtoReflect() protoreflect.Message
func (*RemoveCommentResponse) Reset ¶
func (x *RemoveCommentResponse) Reset()
func (*RemoveCommentResponse) String ¶
func (x *RemoveCommentResponse) String() string
type RemoveFollowRequest ¶
type RemoveFollowRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveFollowRequest) Descriptor
deprecated
func (*RemoveFollowRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveFollowRequest.ProtoReflect.Descriptor instead.
func (*RemoveFollowRequest) GetTargetUserId ¶
func (x *RemoveFollowRequest) GetTargetUserId() int64
func (*RemoveFollowRequest) GetUserId ¶
func (x *RemoveFollowRequest) GetUserId() int64
func (*RemoveFollowRequest) ProtoMessage ¶
func (*RemoveFollowRequest) ProtoMessage()
func (*RemoveFollowRequest) ProtoReflect ¶
func (x *RemoveFollowRequest) ProtoReflect() protoreflect.Message
func (*RemoveFollowRequest) Reset ¶
func (x *RemoveFollowRequest) Reset()
func (*RemoveFollowRequest) String ¶
func (x *RemoveFollowRequest) String() string
type RemoveFollowResponse ¶
type RemoveFollowResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*RemoveFollowResponse) Descriptor
deprecated
func (*RemoveFollowResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveFollowResponse.ProtoReflect.Descriptor instead.
func (*RemoveFollowResponse) GetMeta ¶
func (x *RemoveFollowResponse) GetMeta() *Metadata
func (*RemoveFollowResponse) ProtoMessage ¶
func (*RemoveFollowResponse) ProtoMessage()
func (*RemoveFollowResponse) ProtoReflect ¶
func (x *RemoveFollowResponse) ProtoReflect() protoreflect.Message
func (*RemoveFollowResponse) Reset ¶
func (x *RemoveFollowResponse) Reset()
func (*RemoveFollowResponse) String ¶
func (x *RemoveFollowResponse) String() string
type RemoveVideoFromCollectionRequest ¶
type RemoveVideoFromCollectionRequest struct { CollectionId int64 `protobuf:"varint,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` VideoId int64 `protobuf:"varint,2,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveVideoFromCollectionRequest) Descriptor
deprecated
func (*RemoveVideoFromCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveVideoFromCollectionRequest.ProtoReflect.Descriptor instead.
func (*RemoveVideoFromCollectionRequest) GetCollectionId ¶
func (x *RemoveVideoFromCollectionRequest) GetCollectionId() int64
func (*RemoveVideoFromCollectionRequest) GetUserId ¶
func (x *RemoveVideoFromCollectionRequest) GetUserId() int64
func (*RemoveVideoFromCollectionRequest) GetVideoId ¶
func (x *RemoveVideoFromCollectionRequest) GetVideoId() int64
func (*RemoveVideoFromCollectionRequest) ProtoMessage ¶
func (*RemoveVideoFromCollectionRequest) ProtoMessage()
func (*RemoveVideoFromCollectionRequest) ProtoReflect ¶
func (x *RemoveVideoFromCollectionRequest) ProtoReflect() protoreflect.Message
func (*RemoveVideoFromCollectionRequest) Reset ¶
func (x *RemoveVideoFromCollectionRequest) Reset()
func (*RemoveVideoFromCollectionRequest) String ¶
func (x *RemoveVideoFromCollectionRequest) String() string
type RemoveVideoFromCollectionResponse ¶
type RemoveVideoFromCollectionResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*RemoveVideoFromCollectionResponse) Descriptor
deprecated
func (*RemoveVideoFromCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveVideoFromCollectionResponse.ProtoReflect.Descriptor instead.
func (*RemoveVideoFromCollectionResponse) GetMeta ¶
func (x *RemoveVideoFromCollectionResponse) GetMeta() *Metadata
func (*RemoveVideoFromCollectionResponse) ProtoMessage ¶
func (*RemoveVideoFromCollectionResponse) ProtoMessage()
func (*RemoveVideoFromCollectionResponse) ProtoReflect ¶
func (x *RemoveVideoFromCollectionResponse) ProtoReflect() protoreflect.Message
func (*RemoveVideoFromCollectionResponse) Reset ¶
func (x *RemoveVideoFromCollectionResponse) Reset()
func (*RemoveVideoFromCollectionResponse) String ¶
func (x *RemoveVideoFromCollectionResponse) String() string
type SearchField ¶
type SearchField struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // 用于搜索的字段名称 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // 搜索的值 ValueList []string `protobuf:"bytes,3,rep,name=value_list,json=valueList,proto3" json:"value_list,omitempty"` // 搜索的值列表 Operator SearchOperator `protobuf:"varint,4,opt,name=operator,proto3,enum=coreService.v1.SearchOperator" json:"operator,omitempty"` // 操作符 // contains filtered or unexported fields }
func (*SearchField) Descriptor
deprecated
func (*SearchField) Descriptor() ([]byte, []int)
Deprecated: Use SearchField.ProtoReflect.Descriptor instead.
func (*SearchField) GetField ¶
func (x *SearchField) GetField() string
func (*SearchField) GetOperator ¶
func (x *SearchField) GetOperator() SearchOperator
func (*SearchField) GetValue ¶
func (x *SearchField) GetValue() string
func (*SearchField) GetValueList ¶
func (x *SearchField) GetValueList() []string
func (*SearchField) ProtoMessage ¶
func (*SearchField) ProtoMessage()
func (*SearchField) ProtoReflect ¶
func (x *SearchField) ProtoReflect() protoreflect.Message
func (*SearchField) Reset ¶
func (x *SearchField) Reset()
func (*SearchField) String ¶
func (x *SearchField) String() string
type SearchOperator ¶
type SearchOperator int32
const ( SearchOperator_EQ SearchOperator = 0 // 等于 SearchOperator_NE SearchOperator = 1 // 不等于 SearchOperator_GT SearchOperator = 2 // 大于 SearchOperator_GE SearchOperator = 3 // 大于等于 SearchOperator_LT SearchOperator = 4 // 小于 SearchOperator_LE SearchOperator = 5 // 小于等于 SearchOperator_LIKE SearchOperator = 6 // 使用like的模糊匹配 SearchOperator_WILDCARD SearchOperator = 7 // 使用通配符的模糊匹配 SearchOperator_IN SearchOperator = 8 // 在指定的集合中 SearchOperator_NOT_IN SearchOperator = 9 // 不在指定的集合中 SearchOperator_BETWEEN SearchOperator = 10 // 在指定的范围内 SearchOperator_RE SearchOperator = 11 // 正则匹配 )
func (SearchOperator) Descriptor ¶
func (SearchOperator) Descriptor() protoreflect.EnumDescriptor
func (SearchOperator) Enum ¶
func (x SearchOperator) Enum() *SearchOperator
func (SearchOperator) EnumDescriptor
deprecated
func (SearchOperator) EnumDescriptor() ([]byte, []int)
Deprecated: Use SearchOperator.Descriptor instead.
func (SearchOperator) Number ¶
func (x SearchOperator) Number() protoreflect.EnumNumber
func (SearchOperator) String ¶
func (x SearchOperator) String() string
func (SearchOperator) Type ¶
func (SearchOperator) Type() protoreflect.EnumType
type SearchRequest ¶
type SearchRequest struct { Search []*SearchField `protobuf:"bytes,1,rep,name=search,proto3" json:"search,omitempty"` // 搜索条件 // contains filtered or unexported fields }
func (*SearchRequest) Descriptor
deprecated
func (*SearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.
func (*SearchRequest) GetSearch ¶
func (x *SearchRequest) GetSearch() []*SearchField
func (*SearchRequest) ProtoMessage ¶
func (*SearchRequest) ProtoMessage()
func (*SearchRequest) ProtoReflect ¶
func (x *SearchRequest) ProtoReflect() protoreflect.Message
func (*SearchRequest) Reset ¶
func (x *SearchRequest) Reset()
func (*SearchRequest) String ¶
func (x *SearchRequest) String() string
type SortField ¶
type SortField struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // 用于排序的字段名称 Order SortOrder `protobuf:"varint,2,opt,name=order,proto3,enum=coreService.v1.SortOrder" json:"order,omitempty"` // 排序方式 // contains filtered or unexported fields }
func (*SortField) Descriptor
deprecated
func (*SortField) ProtoMessage ¶
func (*SortField) ProtoMessage()
func (*SortField) ProtoReflect ¶
func (x *SortField) ProtoReflect() protoreflect.Message
type SortOrder ¶
type SortOrder int32
func (SortOrder) Descriptor ¶
func (SortOrder) Descriptor() protoreflect.EnumDescriptor
func (SortOrder) EnumDescriptor
deprecated
func (SortOrder) Number ¶
func (x SortOrder) Number() protoreflect.EnumNumber
func (SortOrder) Type ¶
func (SortOrder) Type() protoreflect.EnumType
type StatRequest ¶
type StatRequest struct { Biz string `protobuf:"bytes,1,opt,name=biz,proto3" json:"biz,omitempty"` BizId int64 `protobuf:"varint,2,opt,name=biz_id,json=bizId,proto3" json:"biz_id,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*StatRequest) Descriptor
deprecated
func (*StatRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatRequest.ProtoReflect.Descriptor instead.
func (*StatRequest) GetBiz ¶
func (x *StatRequest) GetBiz() string
func (*StatRequest) GetBizId ¶
func (x *StatRequest) GetBizId() int64
func (*StatRequest) GetUserId ¶
func (x *StatRequest) GetUserId() int64
func (*StatRequest) ProtoMessage ¶
func (*StatRequest) ProtoMessage()
func (*StatRequest) ProtoReflect ¶
func (x *StatRequest) ProtoReflect() protoreflect.Message
func (*StatRequest) Reset ¶
func (x *StatRequest) Reset()
func (*StatRequest) String ¶
func (x *StatRequest) String() string
type StatResponse ¶
type StatResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` LikeCnt int64 `protobuf:"varint,2,opt,name=like_cnt,json=likeCnt,proto3" json:"like_cnt,omitempty"` CollectCnt int64 `protobuf:"varint,3,opt,name=collect_cnt,json=collectCnt,proto3" json:"collect_cnt,omitempty"` ReadCnt int64 `protobuf:"varint,4,opt,name=read_cnt,json=readCnt,proto3" json:"read_cnt,omitempty"` IsLike bool `protobuf:"varint,5,opt,name=is_like,json=isLike,proto3" json:"is_like,omitempty"` IsCollect bool `protobuf:"varint,6,opt,name=is_collect,json=isCollect,proto3" json:"is_collect,omitempty"` // contains filtered or unexported fields }
func (*StatResponse) Descriptor
deprecated
func (*StatResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatResponse.ProtoReflect.Descriptor instead.
func (*StatResponse) GetCollectCnt ¶
func (x *StatResponse) GetCollectCnt() int64
func (*StatResponse) GetIsCollect ¶
func (x *StatResponse) GetIsCollect() bool
func (*StatResponse) GetIsLike ¶
func (x *StatResponse) GetIsLike() bool
func (*StatResponse) GetLikeCnt ¶
func (x *StatResponse) GetLikeCnt() int64
func (*StatResponse) GetMeta ¶
func (x *StatResponse) GetMeta() *Metadata
func (*StatResponse) GetReadCnt ¶
func (x *StatResponse) GetReadCnt() int64
func (*StatResponse) ProtoMessage ¶
func (*StatResponse) ProtoMessage()
func (*StatResponse) ProtoReflect ¶
func (x *StatResponse) ProtoReflect() protoreflect.Message
func (*StatResponse) Reset ¶
func (x *StatResponse) Reset()
func (*StatResponse) String ¶
func (x *StatResponse) String() string
type UnimplementedCollectionServiceServer ¶
type UnimplementedCollectionServiceServer struct{}
UnimplementedCollectionServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedCollectionServiceServer) AddVideo2Collection ¶
func (UnimplementedCollectionServiceServer) AddVideo2Collection(context.Context, *AddVideo2CollectionRequest) (*AddVideo2CollectionResponse, error)
func (UnimplementedCollectionServiceServer) CountCollect4Video ¶
func (UnimplementedCollectionServiceServer) CountCollect4Video(context.Context, *CountCollect4VideoRequest) (*CountCollect4VideoResponse, error)
func (UnimplementedCollectionServiceServer) CreateCollection ¶
func (UnimplementedCollectionServiceServer) CreateCollection(context.Context, *CreateCollectionRequest) (*CreateCollectionResponse, error)
func (UnimplementedCollectionServiceServer) GetCollectionById ¶
func (UnimplementedCollectionServiceServer) GetCollectionById(context.Context, *GetCollectionByIdRequest) (*GetCollectionByIdResponse, error)
func (UnimplementedCollectionServiceServer) IsCollected ¶
func (UnimplementedCollectionServiceServer) IsCollected(context.Context, *IsCollectedRequest) (*IsCollectedResponse, error)
func (UnimplementedCollectionServiceServer) ListCollection ¶
func (UnimplementedCollectionServiceServer) ListCollection(context.Context, *ListCollectionRequest) (*ListCollectionResponse, error)
func (UnimplementedCollectionServiceServer) ListCollectionVideo ¶
func (UnimplementedCollectionServiceServer) ListCollectionVideo(context.Context, *ListCollectionVideoRequest) (*ListCollectionVideoResponse, error)
func (UnimplementedCollectionServiceServer) RemoveCollection ¶
func (UnimplementedCollectionServiceServer) RemoveCollection(context.Context, *RemoveCollectionRequest) (*RemoveCollectionResponse, error)
func (UnimplementedCollectionServiceServer) RemoveVideoFromCollection ¶
func (UnimplementedCollectionServiceServer) RemoveVideoFromCollection(context.Context, *RemoveVideoFromCollectionRequest) (*RemoveVideoFromCollectionResponse, error)
func (UnimplementedCollectionServiceServer) UpdateCollection ¶
func (UnimplementedCollectionServiceServer) UpdateCollection(context.Context, *UpdateCollectionRequest) (*UpdateCollectionResponse, error)
type UnimplementedCommentServiceServer ¶
type UnimplementedCommentServiceServer struct{}
UnimplementedCommentServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedCommentServiceServer) CountComment4User ¶
func (UnimplementedCommentServiceServer) CountComment4User(context.Context, *CountComment4UserRequest) (*CountComment4UserResponse, error)
func (UnimplementedCommentServiceServer) CountComment4Video ¶
func (UnimplementedCommentServiceServer) CountComment4Video(context.Context, *CountComment4VideoRequest) (*CountComment4VideoResponse, error)
func (UnimplementedCommentServiceServer) CreateComment ¶
func (UnimplementedCommentServiceServer) CreateComment(context.Context, *CreateCommentRequest) (*CreateCommentResponse, error)
func (UnimplementedCommentServiceServer) GetCommentById ¶
func (UnimplementedCommentServiceServer) GetCommentById(context.Context, *GetCommentByIdRequest) (*GetCommentByIdResponse, error)
func (UnimplementedCommentServiceServer) ListChildComment4Comment ¶
func (UnimplementedCommentServiceServer) ListChildComment4Comment(context.Context, *ListChildComment4CommentRequest) (*ListChildComment4CommentResponse, error)
func (UnimplementedCommentServiceServer) ListComment4Video ¶
func (UnimplementedCommentServiceServer) ListComment4Video(context.Context, *ListComment4VideoRequest) (*ListComment4VideoResponse, error)
func (UnimplementedCommentServiceServer) RemoveComment ¶
func (UnimplementedCommentServiceServer) RemoveComment(context.Context, *RemoveCommentRequest) (*RemoveCommentResponse, error)
type UnimplementedFollowServiceServer ¶
type UnimplementedFollowServiceServer struct{}
UnimplementedFollowServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedFollowServiceServer) AddFollow ¶
func (UnimplementedFollowServiceServer) AddFollow(context.Context, *AddFollowRequest) (*AddFollowResponse, error)
func (UnimplementedFollowServiceServer) CountFollow ¶
func (UnimplementedFollowServiceServer) CountFollow(context.Context, *CountFollowRequest) (*CountFollowResponse, error)
func (UnimplementedFollowServiceServer) IsFollowing ¶
func (UnimplementedFollowServiceServer) IsFollowing(context.Context, *IsFollowingRequest) (*IsFollowingResponse, error)
func (UnimplementedFollowServiceServer) ListFollowing ¶
func (UnimplementedFollowServiceServer) ListFollowing(context.Context, *ListFollowingRequest) (*ListFollowingResponse, error)
func (UnimplementedFollowServiceServer) RemoveFollow ¶
func (UnimplementedFollowServiceServer) RemoveFollow(context.Context, *RemoveFollowRequest) (*RemoveFollowResponse, error)
type UnimplementedInterServiceServer ¶
type UnimplementedInterServiceServer struct{}
UnimplementedInterServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedInterServiceServer) CancelCollect ¶
func (UnimplementedInterServiceServer) CancelCollect(context.Context, *CancelCollectRequest) (*CancelCollectResponse, error)
func (UnimplementedInterServiceServer) CancelLike ¶
func (UnimplementedInterServiceServer) CancelLike(context.Context, *CancelLikeRequest) (*CancelLikeResponse, error)
func (UnimplementedInterServiceServer) Collect ¶
func (UnimplementedInterServiceServer) Collect(context.Context, *CollectRequest) (*CollectResponse, error)
func (UnimplementedInterServiceServer) IncrReadCount ¶
func (UnimplementedInterServiceServer) IncrReadCount(context.Context, *IncrReadCountRequest) (*IncrReadCountResponse, error)
func (UnimplementedInterServiceServer) Like ¶
func (UnimplementedInterServiceServer) Like(context.Context, *LikeRequest) (*LikeResponse, error)
func (UnimplementedInterServiceServer) Stat ¶
func (UnimplementedInterServiceServer) Stat(context.Context, *StatRequest) (*StatResponse, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct{}
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedUserServiceServer) CreateUser ¶
func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
func (UnimplementedUserServiceServer) GetUserByIdList ¶
func (UnimplementedUserServiceServer) GetUserByIdList(context.Context, *GetUserByIdListRequest) (*GetUserByIdListResponse, error)
func (UnimplementedUserServiceServer) GetUserInfo ¶
func (UnimplementedUserServiceServer) GetUserInfo(context.Context, *GetUserInfoRequest) (*GetUserInfoResponse, error)
func (UnimplementedUserServiceServer) UpdateUserInfo ¶
func (UnimplementedUserServiceServer) UpdateUserInfo(context.Context, *UpdateUserInfoRequest) (*UpdateUserInfoResponse, error)
type UnimplementedVideoServiceServer ¶
type UnimplementedVideoServiceServer struct{}
UnimplementedVideoServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedVideoServiceServer) FeedShortVideo ¶
func (UnimplementedVideoServiceServer) FeedShortVideo(context.Context, *FeedShortVideoRequest) (*FeedShortVideoResponse, error)
func (UnimplementedVideoServiceServer) GetVideoById ¶
func (UnimplementedVideoServiceServer) GetVideoById(context.Context, *GetVideoByIdRequest) (*GetVideoByIdResponse, error)
func (UnimplementedVideoServiceServer) GetVideoByIdList ¶
func (UnimplementedVideoServiceServer) GetVideoByIdList(context.Context, *GetVideoByIdListRequest) (*GetVideoByIdListResponse, error)
func (UnimplementedVideoServiceServer) ListPublishedVideo ¶
func (UnimplementedVideoServiceServer) ListPublishedVideo(context.Context, *ListPublishedVideoRequest) (*ListPublishedVideoResponse, error)
func (UnimplementedVideoServiceServer) PublishVideo ¶
func (UnimplementedVideoServiceServer) PublishVideo(context.Context, *PublishVideoRequest) (*PublishVideoResponse, error)
type UnsafeCollectionServiceServer ¶
type UnsafeCollectionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCollectionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CollectionServiceServer will result in compilation errors.
type UnsafeCommentServiceServer ¶
type UnsafeCommentServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCommentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommentServiceServer will result in compilation errors.
type UnsafeFollowServiceServer ¶
type UnsafeFollowServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFollowServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FollowServiceServer will result in compilation errors.
type UnsafeInterServiceServer ¶
type UnsafeInterServiceServer interface {
// contains filtered or unexported methods
}
UnsafeInterServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InterServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UnsafeVideoServiceServer ¶
type UnsafeVideoServiceServer interface {
// contains filtered or unexported methods
}
UnsafeVideoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VideoServiceServer will result in compilation errors.
type UpdateCollectionRequest ¶
type UpdateCollectionRequest 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"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*UpdateCollectionRequest) Descriptor
deprecated
func (*UpdateCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCollectionRequest.ProtoReflect.Descriptor instead.
func (*UpdateCollectionRequest) GetDescription ¶
func (x *UpdateCollectionRequest) GetDescription() string
func (*UpdateCollectionRequest) GetId ¶
func (x *UpdateCollectionRequest) GetId() int64
func (*UpdateCollectionRequest) GetName ¶
func (x *UpdateCollectionRequest) GetName() string
func (*UpdateCollectionRequest) ProtoMessage ¶
func (*UpdateCollectionRequest) ProtoMessage()
func (*UpdateCollectionRequest) ProtoReflect ¶
func (x *UpdateCollectionRequest) ProtoReflect() protoreflect.Message
func (*UpdateCollectionRequest) Reset ¶
func (x *UpdateCollectionRequest) Reset()
func (*UpdateCollectionRequest) String ¶
func (x *UpdateCollectionRequest) String() string
type UpdateCollectionResponse ¶
type UpdateCollectionResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*UpdateCollectionResponse) Descriptor
deprecated
func (*UpdateCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCollectionResponse.ProtoReflect.Descriptor instead.
func (*UpdateCollectionResponse) GetMeta ¶
func (x *UpdateCollectionResponse) GetMeta() *Metadata
func (*UpdateCollectionResponse) ProtoMessage ¶
func (*UpdateCollectionResponse) ProtoMessage()
func (*UpdateCollectionResponse) ProtoReflect ¶
func (x *UpdateCollectionResponse) ProtoReflect() protoreflect.Message
func (*UpdateCollectionResponse) Reset ¶
func (x *UpdateCollectionResponse) Reset()
func (*UpdateCollectionResponse) String ¶
func (x *UpdateCollectionResponse) String() string
type UpdateUserImageType ¶
type UpdateUserImageType int32
const ( UpdateUserImageType_AVATAR UpdateUserImageType = 0 UpdateUserImageType_BACKGROUND_IMAGE UpdateUserImageType = 1 )
func (UpdateUserImageType) Descriptor ¶
func (UpdateUserImageType) Descriptor() protoreflect.EnumDescriptor
func (UpdateUserImageType) Enum ¶
func (x UpdateUserImageType) Enum() *UpdateUserImageType
func (UpdateUserImageType) EnumDescriptor
deprecated
func (UpdateUserImageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateUserImageType.Descriptor instead.
func (UpdateUserImageType) Number ¶
func (x UpdateUserImageType) Number() protoreflect.EnumNumber
func (UpdateUserImageType) String ¶
func (x UpdateUserImageType) String() string
func (UpdateUserImageType) Type ¶
func (UpdateUserImageType) Type() protoreflect.EnumType
type UpdateUserInfoRequest ¶
type UpdateUserInfoRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"` BackgroundImage string `protobuf:"bytes,4,opt,name=background_image,json=backgroundImage,proto3" json:"background_image,omitempty"` Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserInfoRequest) Descriptor
deprecated
func (*UpdateUserInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserInfoRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserInfoRequest) GetAvatar ¶
func (x *UpdateUserInfoRequest) GetAvatar() string
func (*UpdateUserInfoRequest) GetBackgroundImage ¶
func (x *UpdateUserInfoRequest) GetBackgroundImage() string
func (*UpdateUserInfoRequest) GetName ¶
func (x *UpdateUserInfoRequest) GetName() string
func (*UpdateUserInfoRequest) GetSignature ¶
func (x *UpdateUserInfoRequest) GetSignature() string
func (*UpdateUserInfoRequest) GetUserId ¶
func (x *UpdateUserInfoRequest) GetUserId() int64
func (*UpdateUserInfoRequest) ProtoMessage ¶
func (*UpdateUserInfoRequest) ProtoMessage()
func (*UpdateUserInfoRequest) ProtoReflect ¶
func (x *UpdateUserInfoRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserInfoRequest) Reset ¶
func (x *UpdateUserInfoRequest) Reset()
func (*UpdateUserInfoRequest) String ¶
func (x *UpdateUserInfoRequest) String() string
type UpdateUserInfoResponse ¶
type UpdateUserInfoResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserInfoResponse) Descriptor
deprecated
func (*UpdateUserInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserInfoResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserInfoResponse) GetMeta ¶
func (x *UpdateUserInfoResponse) GetMeta() *Metadata
func (*UpdateUserInfoResponse) ProtoMessage ¶
func (*UpdateUserInfoResponse) ProtoMessage()
func (*UpdateUserInfoResponse) ProtoReflect ¶
func (x *UpdateUserInfoResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserInfoResponse) Reset ¶
func (x *UpdateUserInfoResponse) Reset()
func (*UpdateUserInfoResponse) String ¶
func (x *UpdateUserInfoResponse) String() string
type User ¶
type User struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 用户id Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 用户名称 Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"` // 用户头像Url BackgroundImage string `protobuf:"bytes,4,opt,name=background_image,json=backgroundImage,proto3" json:"background_image,omitempty"` // 用户个人页顶部大图 Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` // 个人简介 Mobile string `protobuf:"bytes,6,opt,name=mobile,proto3" json:"mobile,omitempty"` // 手机号 Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` // 邮箱 FollowCount int64 `protobuf:"varint,8,opt,name=follow_count,json=followCount,proto3" json:"follow_count,omitempty"` // 关注总数 FollowerCount int64 `protobuf:"varint,9,opt,name=follower_count,json=followerCount,proto3" json:"follower_count,omitempty"` // 粉丝总数 TotalFavorited int64 `protobuf:"varint,10,opt,name=total_favorited,json=totalFavorited,proto3" json:"total_favorited,omitempty"` // 获赞数量 WorkCount int64 `protobuf:"varint,11,opt,name=work_count,json=workCount,proto3" json:"work_count,omitempty"` // 作品数量 FavoriteCount int64 `protobuf:"varint,12,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) GetSignature ¶
func (*User) GetTotalFavorited ¶
func (*User) GetWorkCount ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserServiceClient ¶
type UserServiceClient interface { CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) GetUserInfo(ctx context.Context, in *GetUserInfoRequest, opts ...grpc.CallOption) (*GetUserInfoResponse, error) UpdateUserInfo(ctx context.Context, in *UpdateUserInfoRequest, opts ...grpc.CallOption) (*UpdateUserInfoResponse, error) GetUserByIdList(ctx context.Context, in *GetUserByIdListRequest, opts ...grpc.CallOption) (*GetUserByIdListResponse, error) }
UserServiceClient is the client API for UserService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceHTTPClient ¶
type UserServiceHTTPClient interface { CreateUser(ctx context.Context, req *CreateUserRequest, opts ...http.CallOption) (rsp *CreateUserResponse, err error) GetUserInfo(ctx context.Context, req *GetUserInfoRequest, opts ...http.CallOption) (rsp *GetUserInfoResponse, err error) UpdateUserInfo(ctx context.Context, req *UpdateUserInfoRequest, opts ...http.CallOption) (rsp *UpdateUserInfoResponse, err error) }
func NewUserServiceHTTPClient ¶
func NewUserServiceHTTPClient(client *http.Client) UserServiceHTTPClient
type UserServiceHTTPClientImpl ¶
type UserServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*UserServiceHTTPClientImpl) CreateUser ¶
func (c *UserServiceHTTPClientImpl) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...http.CallOption) (*CreateUserResponse, error)
func (*UserServiceHTTPClientImpl) GetUserInfo ¶
func (c *UserServiceHTTPClientImpl) GetUserInfo(ctx context.Context, in *GetUserInfoRequest, opts ...http.CallOption) (*GetUserInfoResponse, error)
func (*UserServiceHTTPClientImpl) UpdateUserInfo ¶
func (c *UserServiceHTTPClientImpl) UpdateUserInfo(ctx context.Context, in *UpdateUserInfoRequest, opts ...http.CallOption) (*UpdateUserInfoResponse, error)
type UserServiceHTTPServer ¶
type UserServiceHTTPServer interface { CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) GetUserInfo(context.Context, *GetUserInfoRequest) (*GetUserInfoResponse, error) UpdateUserInfo(context.Context, *UpdateUserInfoRequest) (*UpdateUserInfoResponse, error) }
type UserServiceServer ¶
type UserServiceServer interface { CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) GetUserInfo(context.Context, *GetUserInfoRequest) (*GetUserInfoResponse, error) UpdateUserInfo(context.Context, *UpdateUserInfoRequest) (*UpdateUserInfoResponse, error) GetUserByIdList(context.Context, *GetUserByIdListRequest) (*GetUserByIdListResponse, error) // contains filtered or unexported methods }
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility.
type Video ¶
type Video struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 视频唯一标识 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // 视频标题 Author *Author `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"` // 视频作者信息 PlayUrl string `protobuf:"bytes,4,opt,name=play_url,json=playUrl,proto3" json:"play_url,omitempty"` // 视频播放地址 CoverUrl string `protobuf:"bytes,5,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"` // 视频封面地址 FavoriteCount int64 `protobuf:"varint,6,opt,name=favorite_count,json=favoriteCount,proto3" json:"favorite_count,omitempty"` // 视频的点赞总数 CommentCount int64 `protobuf:"varint,7,opt,name=comment_count,json=commentCount,proto3" json:"comment_count,omitempty"` // 视频的评论总数 CollectCount int64 `protobuf:"varint,8,opt,name=collect_count,json=collectCount,proto3" json:"collect_count,omitempty"` // 视频的收藏总数 IsFavorite int64 `protobuf:"varint,9,opt,name=is_favorite,json=isFavorite,proto3" json:"is_favorite,omitempty"` // 0-未点赞,1-已点赞 IsCollect int64 `protobuf:"varint,10,opt,name=is_collect,json=isCollect,proto3" json:"is_collect,omitempty"` // 0-未收藏,1-已收藏 UploadTime string `protobuf:"bytes,11,opt,name=upload_time,json=uploadTime,proto3" json:"upload_time,omitempty"` // 视频上传时间 Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"` // 视频描述 // contains filtered or unexported fields }
func (*Video) Descriptor
deprecated
func (*Video) GetCollectCount ¶
func (*Video) GetCommentCount ¶
func (*Video) GetCoverUrl ¶
func (*Video) GetDescription ¶
func (*Video) GetFavoriteCount ¶
func (*Video) GetIsCollect ¶
func (*Video) GetIsFavorite ¶
func (*Video) GetPlayUrl ¶
func (*Video) GetUploadTime ¶
func (*Video) ProtoMessage ¶
func (*Video) ProtoMessage()
func (*Video) ProtoReflect ¶
func (x *Video) ProtoReflect() protoreflect.Message
type VideoServiceClient ¶
type VideoServiceClient interface { FeedShortVideo(ctx context.Context, in *FeedShortVideoRequest, opts ...grpc.CallOption) (*FeedShortVideoResponse, error) GetVideoById(ctx context.Context, in *GetVideoByIdRequest, opts ...grpc.CallOption) (*GetVideoByIdResponse, error) PublishVideo(ctx context.Context, in *PublishVideoRequest, opts ...grpc.CallOption) (*PublishVideoResponse, error) ListPublishedVideo(ctx context.Context, in *ListPublishedVideoRequest, opts ...grpc.CallOption) (*ListPublishedVideoResponse, error) GetVideoByIdList(ctx context.Context, in *GetVideoByIdListRequest, opts ...grpc.CallOption) (*GetVideoByIdListResponse, error) }
VideoServiceClient is the client API for VideoService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewVideoServiceClient ¶
func NewVideoServiceClient(cc grpc.ClientConnInterface) VideoServiceClient
type VideoServiceHTTPClient ¶
type VideoServiceHTTPClient interface { FeedShortVideo(ctx context.Context, req *FeedShortVideoRequest, opts ...http.CallOption) (rsp *FeedShortVideoResponse, err error) GetVideoById(ctx context.Context, req *GetVideoByIdRequest, opts ...http.CallOption) (rsp *GetVideoByIdResponse, err error) ListPublishedVideo(ctx context.Context, req *ListPublishedVideoRequest, opts ...http.CallOption) (rsp *ListPublishedVideoResponse, err error) PublishVideo(ctx context.Context, req *PublishVideoRequest, opts ...http.CallOption) (rsp *PublishVideoResponse, err error) }
func NewVideoServiceHTTPClient ¶
func NewVideoServiceHTTPClient(client *http.Client) VideoServiceHTTPClient
type VideoServiceHTTPClientImpl ¶
type VideoServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*VideoServiceHTTPClientImpl) FeedShortVideo ¶
func (c *VideoServiceHTTPClientImpl) FeedShortVideo(ctx context.Context, in *FeedShortVideoRequest, opts ...http.CallOption) (*FeedShortVideoResponse, error)
func (*VideoServiceHTTPClientImpl) GetVideoById ¶
func (c *VideoServiceHTTPClientImpl) GetVideoById(ctx context.Context, in *GetVideoByIdRequest, opts ...http.CallOption) (*GetVideoByIdResponse, error)
func (*VideoServiceHTTPClientImpl) ListPublishedVideo ¶
func (c *VideoServiceHTTPClientImpl) ListPublishedVideo(ctx context.Context, in *ListPublishedVideoRequest, opts ...http.CallOption) (*ListPublishedVideoResponse, error)
func (*VideoServiceHTTPClientImpl) PublishVideo ¶
func (c *VideoServiceHTTPClientImpl) PublishVideo(ctx context.Context, in *PublishVideoRequest, opts ...http.CallOption) (*PublishVideoResponse, error)
type VideoServiceHTTPServer ¶
type VideoServiceHTTPServer interface { FeedShortVideo(context.Context, *FeedShortVideoRequest) (*FeedShortVideoResponse, error) GetVideoById(context.Context, *GetVideoByIdRequest) (*GetVideoByIdResponse, error) ListPublishedVideo(context.Context, *ListPublishedVideoRequest) (*ListPublishedVideoResponse, error) PublishVideo(context.Context, *PublishVideoRequest) (*PublishVideoResponse, error) }
type VideoServiceServer ¶
type VideoServiceServer interface { FeedShortVideo(context.Context, *FeedShortVideoRequest) (*FeedShortVideoResponse, error) GetVideoById(context.Context, *GetVideoByIdRequest) (*GetVideoByIdResponse, error) PublishVideo(context.Context, *PublishVideoRequest) (*PublishVideoResponse, error) ListPublishedVideo(context.Context, *ListPublishedVideoRequest) (*ListPublishedVideoResponse, error) GetVideoByIdList(context.Context, *GetVideoByIdListRequest) (*GetVideoByIdListResponse, error) // contains filtered or unexported methods }
VideoServiceServer is the server API for VideoService service. All implementations must embed UnimplementedVideoServiceServer for forward compatibility.