Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCollectionServiceHTTPServer(s *http.Server, srv CollectionServiceHTTPServer)
- func RegisterCollectionServiceServer(s grpc.ServiceRegistrar, srv CollectionServiceServer)
- func RegisterCommentServiceHTTPServer(s *http.Server, srv CommentServiceHTTPServer)
- func RegisterCommentServiceServer(s grpc.ServiceRegistrar, srv CommentServiceServer)
- func RegisterFavoriteServiceHTTPServer(s *http.Server, srv FavoriteServiceHTTPServer)
- func RegisterFavoriteServiceServer(s grpc.ServiceRegistrar, srv FavoriteServiceServer)
- func RegisterFileServiceHTTPServer(s *http.Server, srv FileServiceHTTPServer)
- func RegisterFileServiceServer(s grpc.ServiceRegistrar, srv FileServiceServer)
- func RegisterFollowServiceHTTPServer(s *http.Server, srv FollowServiceHTTPServer)
- func RegisterFollowServiceServer(s grpc.ServiceRegistrar, srv FollowServiceServer)
- func RegisterShortVideoCoreVideoServiceHTTPServer(s *http.Server, srv ShortVideoCoreVideoServiceHTTPServer)
- func RegisterShortVideoCoreVideoServiceServer(s grpc.ServiceRegistrar, srv ShortVideoCoreVideoServiceServer)
- func RegisterUserServiceHTTPServer(s *http.Server, srv UserServiceHTTPServer)
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- type AddFavoriteRequest
- func (*AddFavoriteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddFavoriteRequest) GetId() int64
- func (x *AddFavoriteRequest) GetTarget() FavoriteTarget
- func (x *AddFavoriteRequest) GetType() FavoriteType
- func (*AddFavoriteRequest) ProtoMessage()
- func (x *AddFavoriteRequest) ProtoReflect() protoreflect.Message
- func (x *AddFavoriteRequest) Reset()
- func (x *AddFavoriteRequest) String() string
- type AddFavoriteResponse
- type AddFollowRequest
- type AddFollowResponse
- type AddVideo2CollectionRequest
- func (*AddVideo2CollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddVideo2CollectionRequest) GetCollectionId() 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
- type BindUserVoucherRequest
- func (*BindUserVoucherRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BindUserVoucherRequest) GetVoucher() string
- func (x *BindUserVoucherRequest) GetVoucherType() VoucherType
- func (*BindUserVoucherRequest) ProtoMessage()
- func (x *BindUserVoucherRequest) ProtoReflect() protoreflect.Message
- func (x *BindUserVoucherRequest) Reset()
- func (x *BindUserVoucherRequest) String() string
- type BindUserVoucherResponse
- 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 CollectionServiceHTTPClient
- type CollectionServiceHTTPClientImpl
- func (c *CollectionServiceHTTPClientImpl) AddVideo2Collection(ctx context.Context, in *AddVideo2CollectionRequest, opts ...http.CallOption) (*AddVideo2CollectionResponse, error)
- func (c *CollectionServiceHTTPClientImpl) CreateCollection(ctx context.Context, in *CreateCollectionRequest, opts ...http.CallOption) (*CreateCollectionResponse, error)
- func (c *CollectionServiceHTTPClientImpl) ListCollection(ctx context.Context, in *ListCollectionRequest, opts ...http.CallOption) (*ListCollectionResponse, error)
- func (c *CollectionServiceHTTPClientImpl) ListVideo4Collection(ctx context.Context, in *ListVideo4CollectionRequest, opts ...http.CallOption) (*ListVideo4CollectionResponse, error)
- func (c *CollectionServiceHTTPClientImpl) RemoveCollection(ctx context.Context, in *RemoveCollectionRequest, opts ...http.CallOption) (*RemoveCollectionResponse, error)
- func (c *CollectionServiceHTTPClientImpl) RemoveVideoFromCollection(ctx context.Context, in *RemoveVideoFromCollectionRequest, ...) (*RemoveVideoFromCollectionResponse, error)
- func (c *CollectionServiceHTTPClientImpl) UpdateCollection(ctx context.Context, in *UpdateCollectionRequest, opts ...http.CallOption) (*UpdateCollectionResponse, error)
- type CollectionServiceHTTPServer
- type CollectionServiceServer
- type CollectionVideo
- func (*CollectionVideo) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionVideo) GetCoverUrl() string
- func (x *CollectionVideo) GetDescription() string
- func (x *CollectionVideo) GetId() int64
- func (x *CollectionVideo) GetTitle() string
- func (x *CollectionVideo) GetVideoId() int64
- func (x *CollectionVideo) GetVideoUrl() string
- func (*CollectionVideo) ProtoMessage()
- func (x *CollectionVideo) ProtoReflect() protoreflect.Message
- func (x *CollectionVideo) Reset()
- func (x *CollectionVideo) String() string
- 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) GetReplyUser() *CommentUser
- func (x *Comment) GetUser() *CommentUser
- 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 CommentServiceHTTPClient
- type CommentServiceHTTPClientImpl
- func (c *CommentServiceHTTPClientImpl) CreateComment(ctx context.Context, in *CreateCommentRequest, opts ...http.CallOption) (*CreateCommentResponse, error)
- func (c *CommentServiceHTTPClientImpl) ListChildComment(ctx context.Context, in *ListChildCommentRequest, opts ...http.CallOption) (*ListChildCommentResponse, error)
- func (c *CommentServiceHTTPClientImpl) ListComment4Video(ctx context.Context, in *ListComment4VideoRequest, opts ...http.CallOption) (*ListComment4VideoResponse, error)
- func (c *CommentServiceHTTPClientImpl) RemoveComment(ctx context.Context, in *RemoveCommentRequest, opts ...http.CallOption) (*RemoveCommentResponse, error)
- type CommentServiceHTTPServer
- type CommentServiceServer
- type CommentUser
- func (*CommentUser) Descriptor() ([]byte, []int)deprecated
- func (x *CommentUser) GetAvatar() string
- func (x *CommentUser) GetId() int64
- func (x *CommentUser) GetIsFollowing() bool
- func (x *CommentUser) GetName() string
- func (*CommentUser) ProtoMessage()
- func (x *CommentUser) ProtoReflect() protoreflect.Message
- func (x *CommentUser) Reset()
- func (x *CommentUser) String() string
- type CreateCollectionRequest
- func (*CreateCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCollectionRequest) GetDescription() string
- func (x *CreateCollectionRequest) GetName() string
- 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) GetCollection() *Collection
- 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) 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 (*CreateCommentResponse) ProtoMessage()
- func (x *CreateCommentResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCommentResponse) Reset()
- func (x *CreateCommentResponse) String() string
- type FavoriteServiceClient
- type FavoriteServiceHTTPClient
- type FavoriteServiceHTTPClientImpl
- func (c *FavoriteServiceHTTPClientImpl) AddFavorite(ctx context.Context, in *AddFavoriteRequest, opts ...http.CallOption) (*AddFavoriteResponse, error)
- func (c *FavoriteServiceHTTPClientImpl) ListFavoriteVideo(ctx context.Context, in *ListFavoriteVideoRequest, opts ...http.CallOption) (*ListFavoriteVideoResponse, error)
- func (c *FavoriteServiceHTTPClientImpl) RemoveFavorite(ctx context.Context, in *RemoveFavoriteRequest, opts ...http.CallOption) (*RemoveFavoriteResponse, error)
- type FavoriteServiceHTTPServer
- type FavoriteServiceServer
- type FavoriteTarget
- func (FavoriteTarget) Descriptor() protoreflect.EnumDescriptor
- func (x FavoriteTarget) Enum() *FavoriteTarget
- func (FavoriteTarget) EnumDescriptor() ([]byte, []int)deprecated
- func (x FavoriteTarget) Number() protoreflect.EnumNumber
- func (x FavoriteTarget) String() string
- func (FavoriteTarget) Type() protoreflect.EnumType
- type FavoriteType
- func (FavoriteType) Descriptor() protoreflect.EnumDescriptor
- func (x FavoriteType) Enum() *FavoriteType
- func (FavoriteType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FavoriteType) Number() protoreflect.EnumNumber
- func (x FavoriteType) String() string
- func (FavoriteType) Type() protoreflect.EnumType
- 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) GetNextTime() int64
- func (x *FeedShortVideoResponse) GetVideos() []*Video
- func (*FeedShortVideoResponse) ProtoMessage()
- func (x *FeedShortVideoResponse) ProtoReflect() protoreflect.Message
- func (x *FeedShortVideoResponse) Reset()
- func (x *FeedShortVideoResponse) String() string
- type FileServiceClient
- type FileServiceHTTPClient
- type FileServiceHTTPClientImpl
- func (c *FileServiceHTTPClientImpl) PreSignUploadingPublicFile(ctx context.Context, in *PreSignUploadPublicFileRequest, ...) (*PreSignUploadPublicFileResponse, error)
- func (c *FileServiceHTTPClientImpl) ReportPublicFileUploaded(ctx context.Context, in *ReportPublicFileUploadedRequest, ...) (*ReportPublicFileUploadedResponse, error)
- type FileServiceHTTPServer
- type FileServiceServer
- type FollowServiceClient
- type FollowServiceHTTPClient
- type FollowServiceHTTPClientImpl
- func (c *FollowServiceHTTPClientImpl) AddFollow(ctx context.Context, in *AddFollowRequest, opts ...http.CallOption) (*AddFollowResponse, error)
- func (c *FollowServiceHTTPClientImpl) ListFollowing(ctx context.Context, in *ListFollowingRequest, opts ...http.CallOption) (*ListFollowingResponse, error)
- func (c *FollowServiceHTTPClientImpl) RemoveFollow(ctx context.Context, in *RemoveFollowRequest, opts ...http.CallOption) (*RemoveFollowResponse, error)
- type FollowServiceHTTPServer
- type FollowServiceServer
- type FollowType
- type FollowUser
- func (*FollowUser) Descriptor() ([]byte, []int)deprecated
- func (x *FollowUser) GetAvatar() string
- func (x *FollowUser) GetId() int64
- func (x *FollowUser) GetIsFollowing() bool
- func (x *FollowUser) GetName() string
- func (*FollowUser) ProtoMessage()
- func (x *FollowUser) ProtoReflect() protoreflect.Message
- func (x *FollowUser) Reset()
- func (x *FollowUser) String() string
- type GetUserInfoRequest
- func (*GetUserInfoRequest) Descriptor() ([]byte, []int)deprecated
- 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) GetUser() *User
- func (*GetUserInfoResponse) ProtoMessage()
- func (x *GetUserInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserInfoResponse) Reset()
- func (x *GetUserInfoResponse) String() string
- type GetVerificationCodeRequest
- func (*GetVerificationCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetVerificationCodeRequest) GetEmail() string
- func (x *GetVerificationCodeRequest) GetMobile() string
- func (*GetVerificationCodeRequest) ProtoMessage()
- func (x *GetVerificationCodeRequest) ProtoReflect() protoreflect.Message
- func (x *GetVerificationCodeRequest) Reset()
- func (x *GetVerificationCodeRequest) String() string
- type GetVerificationCodeResponse
- func (*GetVerificationCodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVerificationCodeResponse) GetCodeId() int64
- func (*GetVerificationCodeResponse) ProtoMessage()
- func (x *GetVerificationCodeResponse) ProtoReflect() protoreflect.Message
- func (x *GetVerificationCodeResponse) Reset()
- func (x *GetVerificationCodeResponse) 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) GetVideo() *Video
- func (*GetVideoByIdResponse) ProtoMessage()
- func (x *GetVideoByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetVideoByIdResponse) Reset()
- func (x *GetVideoByIdResponse) String() string
- type ListChildCommentRequest
- func (*ListChildCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListChildCommentRequest) GetCommentId() int64
- func (x *ListChildCommentRequest) GetPagination() *PaginationRequest
- func (*ListChildCommentRequest) ProtoMessage()
- func (x *ListChildCommentRequest) ProtoReflect() protoreflect.Message
- func (x *ListChildCommentRequest) Reset()
- func (x *ListChildCommentRequest) String() string
- type ListChildCommentResponse
- func (*ListChildCommentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListChildCommentResponse) GetComments() []*Comment
- func (x *ListChildCommentResponse) GetPagination() *PaginationResponse
- func (*ListChildCommentResponse) ProtoMessage()
- func (x *ListChildCommentResponse) ProtoReflect() protoreflect.Message
- func (x *ListChildCommentResponse) Reset()
- func (x *ListChildCommentResponse) String() string
- type ListCollectionRequest
- func (*ListCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCollectionRequest) GetPagination() *PaginationRequest
- 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) GetPagination() *PaginationResponse
- func (*ListCollectionResponse) ProtoMessage()
- func (x *ListCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *ListCollectionResponse) Reset()
- func (x *ListCollectionResponse) 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) GetPagination() *PaginationResponse
- func (*ListComment4VideoResponse) ProtoMessage()
- func (x *ListComment4VideoResponse) ProtoReflect() protoreflect.Message
- func (x *ListComment4VideoResponse) Reset()
- func (x *ListComment4VideoResponse) String() string
- type ListFavoriteVideoRequest
- func (*ListFavoriteVideoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFavoriteVideoRequest) GetPage() int32
- func (x *ListFavoriteVideoRequest) GetSize() int32
- func (x *ListFavoriteVideoRequest) GetUserId() int64
- func (*ListFavoriteVideoRequest) ProtoMessage()
- func (x *ListFavoriteVideoRequest) ProtoReflect() protoreflect.Message
- func (x *ListFavoriteVideoRequest) Reset()
- func (x *ListFavoriteVideoRequest) String() string
- type ListFavoriteVideoResponse
- func (*ListFavoriteVideoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFavoriteVideoResponse) GetPagination() *PaginationResponse
- func (x *ListFavoriteVideoResponse) GetVideos() []*Video
- func (*ListFavoriteVideoResponse) ProtoMessage()
- func (x *ListFavoriteVideoResponse) ProtoReflect() protoreflect.Message
- func (x *ListFavoriteVideoResponse) Reset()
- func (x *ListFavoriteVideoResponse) String() string
- type ListFollowingRequest
- func (*ListFollowingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFollowingRequest) GetPagination() *PaginationRequest
- func (x *ListFollowingRequest) GetType() FollowType
- 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) GetPagination() *PaginationResponse
- func (x *ListFollowingResponse) GetUsers() []*FollowUser
- 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) 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) GetPagination() *PaginationResponse
- func (x *ListPublishedVideoResponse) GetVideoList() []*Video
- func (*ListPublishedVideoResponse) ProtoMessage()
- func (x *ListPublishedVideoResponse) ProtoReflect() protoreflect.Message
- func (x *ListPublishedVideoResponse) Reset()
- func (x *ListPublishedVideoResponse) String() string
- type ListVideo4CollectionRequest
- func (*ListVideo4CollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListVideo4CollectionRequest) GetCollectionId() int64
- func (x *ListVideo4CollectionRequest) GetPagination() *PaginationRequest
- func (*ListVideo4CollectionRequest) ProtoMessage()
- func (x *ListVideo4CollectionRequest) ProtoReflect() protoreflect.Message
- func (x *ListVideo4CollectionRequest) Reset()
- func (x *ListVideo4CollectionRequest) String() string
- type ListVideo4CollectionResponse
- func (*ListVideo4CollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListVideo4CollectionResponse) GetPagination() *PaginationResponse
- func (x *ListVideo4CollectionResponse) GetVideos() []*Video
- func (*ListVideo4CollectionResponse) ProtoMessage()
- func (x *ListVideo4CollectionResponse) ProtoReflect() protoreflect.Message
- func (x *ListVideo4CollectionResponse) Reset()
- func (x *ListVideo4CollectionResponse) String() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetEmail() string
- func (x *LoginRequest) GetMobile() string
- func (x *LoginRequest) GetPassword() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- 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 PreSign4UploadRequest
- func (*PreSign4UploadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PreSign4UploadRequest) GetFileType() string
- func (x *PreSign4UploadRequest) GetFilename() string
- func (x *PreSign4UploadRequest) GetHash() string
- func (x *PreSign4UploadRequest) GetSize() int64
- func (*PreSign4UploadRequest) ProtoMessage()
- func (x *PreSign4UploadRequest) ProtoReflect() protoreflect.Message
- func (x *PreSign4UploadRequest) Reset()
- func (x *PreSign4UploadRequest) String() string
- type PreSign4UploadResponse
- func (*PreSign4UploadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PreSign4UploadResponse) GetFileId() int64
- func (x *PreSign4UploadResponse) GetUrl() string
- func (*PreSign4UploadResponse) ProtoMessage()
- func (x *PreSign4UploadResponse) ProtoReflect() protoreflect.Message
- func (x *PreSign4UploadResponse) Reset()
- func (x *PreSign4UploadResponse) String() string
- type PreSign4UploadVideoRequest
- func (*PreSign4UploadVideoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PreSign4UploadVideoRequest) GetFileType() string
- func (x *PreSign4UploadVideoRequest) GetFilename() string
- func (x *PreSign4UploadVideoRequest) GetHash() string
- func (x *PreSign4UploadVideoRequest) GetSize() int64
- func (*PreSign4UploadVideoRequest) ProtoMessage()
- func (x *PreSign4UploadVideoRequest) ProtoReflect() protoreflect.Message
- func (x *PreSign4UploadVideoRequest) Reset()
- func (x *PreSign4UploadVideoRequest) String() string
- type PreSign4UploadVideoResponse
- func (*PreSign4UploadVideoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PreSign4UploadVideoResponse) GetFileId() int64
- func (x *PreSign4UploadVideoResponse) GetUrl() string
- func (*PreSign4UploadVideoResponse) ProtoMessage()
- func (x *PreSign4UploadVideoResponse) ProtoReflect() protoreflect.Message
- func (x *PreSign4UploadVideoResponse) Reset()
- func (x *PreSign4UploadVideoResponse) String() string
- type PreSignUploadPublicFileRequest
- func (*PreSignUploadPublicFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PreSignUploadPublicFileRequest) GetFileType() string
- func (x *PreSignUploadPublicFileRequest) GetHash() string
- func (x *PreSignUploadPublicFileRequest) GetSize() int64
- func (*PreSignUploadPublicFileRequest) ProtoMessage()
- func (x *PreSignUploadPublicFileRequest) ProtoReflect() protoreflect.Message
- func (x *PreSignUploadPublicFileRequest) Reset()
- func (x *PreSignUploadPublicFileRequest) String() string
- type PreSignUploadPublicFileResponse
- func (*PreSignUploadPublicFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PreSignUploadPublicFileResponse) GetFileId() int64
- func (x *PreSignUploadPublicFileResponse) GetUrl() string
- func (*PreSignUploadPublicFileResponse) ProtoMessage()
- func (x *PreSignUploadPublicFileResponse) ProtoReflect() protoreflect.Message
- func (x *PreSignUploadPublicFileResponse) Reset()
- func (x *PreSignUploadPublicFileResponse) String() string
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetCode() string
- func (x *RegisterRequest) GetCodeId() int64
- func (x *RegisterRequest) GetEmail() string
- func (x *RegisterRequest) GetMobile() string
- func (x *RegisterRequest) GetPassword() string
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- type RegisterResponse
- 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
- type RemoveCommentRequest
- func (*RemoveCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveCommentRequest) GetId() int64
- func (*RemoveCommentRequest) ProtoMessage()
- func (x *RemoveCommentRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveCommentRequest) Reset()
- func (x *RemoveCommentRequest) String() string
- type RemoveCommentResponse
- type RemoveFavoriteRequest
- func (*RemoveFavoriteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveFavoriteRequest) GetId() int64
- func (x *RemoveFavoriteRequest) GetTarget() FavoriteTarget
- func (x *RemoveFavoriteRequest) GetType() FavoriteType
- func (*RemoveFavoriteRequest) ProtoMessage()
- func (x *RemoveFavoriteRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveFavoriteRequest) Reset()
- func (x *RemoveFavoriteRequest) String() string
- type RemoveFavoriteResponse
- type RemoveFollowRequest
- func (*RemoveFollowRequest) Descriptor() ([]byte, []int)deprecated
- 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
- type RemoveVideoFromCollectionRequest
- func (*RemoveVideoFromCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveVideoFromCollectionRequest) GetCollectionId() 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 (*RemoveVideoFromCollectionResponse) ProtoMessage()
- func (x *RemoveVideoFromCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveVideoFromCollectionResponse) Reset()
- func (x *RemoveVideoFromCollectionResponse) String() string
- type ReportFinishUploadRequest
- func (*ReportFinishUploadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportFinishUploadRequest) GetFileId() int64
- func (*ReportFinishUploadRequest) ProtoMessage()
- func (x *ReportFinishUploadRequest) ProtoReflect() protoreflect.Message
- func (x *ReportFinishUploadRequest) Reset()
- func (x *ReportFinishUploadRequest) String() string
- type ReportFinishUploadResponse
- func (*ReportFinishUploadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReportFinishUploadResponse) GetUrl() string
- func (*ReportFinishUploadResponse) ProtoMessage()
- func (x *ReportFinishUploadResponse) ProtoReflect() protoreflect.Message
- func (x *ReportFinishUploadResponse) Reset()
- func (x *ReportFinishUploadResponse) String() string
- type ReportPublicFileUploadedRequest
- func (*ReportPublicFileUploadedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportPublicFileUploadedRequest) GetFileId() int64
- func (*ReportPublicFileUploadedRequest) ProtoMessage()
- func (x *ReportPublicFileUploadedRequest) ProtoReflect() protoreflect.Message
- func (x *ReportPublicFileUploadedRequest) Reset()
- func (x *ReportPublicFileUploadedRequest) String() string
- type ReportPublicFileUploadedResponse
- func (*ReportPublicFileUploadedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReportPublicFileUploadedResponse) GetObjectName() string
- func (*ReportPublicFileUploadedResponse) ProtoMessage()
- func (x *ReportPublicFileUploadedResponse) ProtoReflect() protoreflect.Message
- func (x *ReportPublicFileUploadedResponse) Reset()
- func (x *ReportPublicFileUploadedResponse) String() string
- type ReportVideoFinishUploadRequest
- func (*ReportVideoFinishUploadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportVideoFinishUploadRequest) GetCoverUrl() string
- func (x *ReportVideoFinishUploadRequest) GetDescription() string
- func (x *ReportVideoFinishUploadRequest) GetFileId() int64
- func (x *ReportVideoFinishUploadRequest) GetTitle() string
- func (x *ReportVideoFinishUploadRequest) GetVideoUrl() string
- func (*ReportVideoFinishUploadRequest) ProtoMessage()
- func (x *ReportVideoFinishUploadRequest) ProtoReflect() protoreflect.Message
- func (x *ReportVideoFinishUploadRequest) Reset()
- func (x *ReportVideoFinishUploadRequest) String() string
- type ReportVideoFinishUploadResponse
- func (*ReportVideoFinishUploadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReportVideoFinishUploadResponse) GetVideoId() int64
- func (*ReportVideoFinishUploadResponse) ProtoMessage()
- func (x *ReportVideoFinishUploadResponse) ProtoReflect() protoreflect.Message
- func (x *ReportVideoFinishUploadResponse) Reset()
- func (x *ReportVideoFinishUploadResponse) 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 ShortVideoCoreVideoServiceClient
- type ShortVideoCoreVideoServiceHTTPClient
- type ShortVideoCoreVideoServiceHTTPClientImpl
- func (c *ShortVideoCoreVideoServiceHTTPClientImpl) FeedShortVideo(ctx context.Context, in *FeedShortVideoRequest, opts ...http.CallOption) (*FeedShortVideoResponse, error)
- func (c *ShortVideoCoreVideoServiceHTTPClientImpl) GetVideoById(ctx context.Context, in *GetVideoByIdRequest, opts ...http.CallOption) (*GetVideoByIdResponse, error)
- func (c *ShortVideoCoreVideoServiceHTTPClientImpl) ListPublishedVideo(ctx context.Context, in *ListPublishedVideoRequest, opts ...http.CallOption) (*ListPublishedVideoResponse, error)
- func (c *ShortVideoCoreVideoServiceHTTPClientImpl) PreSign4UploadCover(ctx context.Context, in *PreSign4UploadRequest, opts ...http.CallOption) (*PreSign4UploadResponse, error)
- func (c *ShortVideoCoreVideoServiceHTTPClientImpl) PreSign4UploadVideo(ctx context.Context, in *PreSign4UploadVideoRequest, opts ...http.CallOption) (*PreSign4UploadVideoResponse, error)
- func (c *ShortVideoCoreVideoServiceHTTPClientImpl) ReportFinishUpload(ctx context.Context, in *ReportFinishUploadRequest, opts ...http.CallOption) (*ReportFinishUploadResponse, error)
- func (c *ShortVideoCoreVideoServiceHTTPClientImpl) ReportVideoFinishUpload(ctx context.Context, in *ReportVideoFinishUploadRequest, ...) (*ReportVideoFinishUploadResponse, error)
- type ShortVideoCoreVideoServiceHTTPServer
- type ShortVideoCoreVideoServiceServer
- type SortField
- type SortOrder
- type UnbindUserVoucherRequest
- func (*UnbindUserVoucherRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnbindUserVoucherRequest) GetVoucher() string
- func (x *UnbindUserVoucherRequest) GetVoucherType() VoucherType
- func (*UnbindUserVoucherRequest) ProtoMessage()
- func (x *UnbindUserVoucherRequest) ProtoReflect() protoreflect.Message
- func (x *UnbindUserVoucherRequest) Reset()
- func (x *UnbindUserVoucherRequest) String() string
- type UnbindUserVoucherResponse
- type UnimplementedCollectionServiceServer
- func (UnimplementedCollectionServiceServer) AddVideo2Collection(context.Context, *AddVideo2CollectionRequest) (*AddVideo2CollectionResponse, error)
- func (UnimplementedCollectionServiceServer) CreateCollection(context.Context, *CreateCollectionRequest) (*CreateCollectionResponse, error)
- func (UnimplementedCollectionServiceServer) ListCollection(context.Context, *ListCollectionRequest) (*ListCollectionResponse, error)
- func (UnimplementedCollectionServiceServer) ListVideo4Collection(context.Context, *ListVideo4CollectionRequest) (*ListVideo4CollectionResponse, 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) CreateComment(context.Context, *CreateCommentRequest) (*CreateCommentResponse, error)
- func (UnimplementedCommentServiceServer) ListChildComment(context.Context, *ListChildCommentRequest) (*ListChildCommentResponse, error)
- func (UnimplementedCommentServiceServer) ListComment4Video(context.Context, *ListComment4VideoRequest) (*ListComment4VideoResponse, error)
- func (UnimplementedCommentServiceServer) RemoveComment(context.Context, *RemoveCommentRequest) (*RemoveCommentResponse, error)
- type UnimplementedFavoriteServiceServer
- func (UnimplementedFavoriteServiceServer) AddFavorite(context.Context, *AddFavoriteRequest) (*AddFavoriteResponse, error)
- func (UnimplementedFavoriteServiceServer) ListFavoriteVideo(context.Context, *ListFavoriteVideoRequest) (*ListFavoriteVideoResponse, error)
- func (UnimplementedFavoriteServiceServer) RemoveFavorite(context.Context, *RemoveFavoriteRequest) (*RemoveFavoriteResponse, error)
- type UnimplementedFileServiceServer
- func (UnimplementedFileServiceServer) PreSignUploadingPublicFile(context.Context, *PreSignUploadPublicFileRequest) (*PreSignUploadPublicFileResponse, error)
- func (UnimplementedFileServiceServer) ReportPublicFileUploaded(context.Context, *ReportPublicFileUploadedRequest) (*ReportPublicFileUploadedResponse, error)
- type UnimplementedFollowServiceServer
- func (UnimplementedFollowServiceServer) AddFollow(context.Context, *AddFollowRequest) (*AddFollowResponse, error)
- func (UnimplementedFollowServiceServer) ListFollowing(context.Context, *ListFollowingRequest) (*ListFollowingResponse, error)
- func (UnimplementedFollowServiceServer) RemoveFollow(context.Context, *RemoveFollowRequest) (*RemoveFollowResponse, error)
- type UnimplementedShortVideoCoreVideoServiceServer
- func (UnimplementedShortVideoCoreVideoServiceServer) FeedShortVideo(context.Context, *FeedShortVideoRequest) (*FeedShortVideoResponse, error)
- func (UnimplementedShortVideoCoreVideoServiceServer) GetVideoById(context.Context, *GetVideoByIdRequest) (*GetVideoByIdResponse, error)
- func (UnimplementedShortVideoCoreVideoServiceServer) ListPublishedVideo(context.Context, *ListPublishedVideoRequest) (*ListPublishedVideoResponse, error)
- func (UnimplementedShortVideoCoreVideoServiceServer) PreSign4UploadCover(context.Context, *PreSign4UploadRequest) (*PreSign4UploadResponse, error)
- func (UnimplementedShortVideoCoreVideoServiceServer) PreSign4UploadVideo(context.Context, *PreSign4UploadVideoRequest) (*PreSign4UploadVideoResponse, error)
- func (UnimplementedShortVideoCoreVideoServiceServer) ReportFinishUpload(context.Context, *ReportFinishUploadRequest) (*ReportFinishUploadResponse, error)
- func (UnimplementedShortVideoCoreVideoServiceServer) ReportVideoFinishUpload(context.Context, *ReportVideoFinishUploadRequest) (*ReportVideoFinishUploadResponse, error)
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) BindUserVoucher(context.Context, *BindUserVoucherRequest) (*BindUserVoucherResponse, error)
- func (UnimplementedUserServiceServer) GetUserInfo(context.Context, *GetUserInfoRequest) (*GetUserInfoResponse, error)
- func (UnimplementedUserServiceServer) GetVerificationCode(context.Context, *GetVerificationCodeRequest) (*GetVerificationCodeResponse, error)
- func (UnimplementedUserServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedUserServiceServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
- func (UnimplementedUserServiceServer) UnbindUserVoucher(context.Context, *UnbindUserVoucherRequest) (*UnbindUserVoucherResponse, error)
- func (UnimplementedUserServiceServer) UpdateUserInfo(context.Context, *UpdateUserInfoRequest) (*UpdateUserInfoResponse, error)
- type UnsafeCollectionServiceServer
- type UnsafeCommentServiceServer
- type UnsafeFavoriteServiceServer
- type UnsafeFileServiceServer
- type UnsafeFollowServiceServer
- type UnsafeShortVideoCoreVideoServiceServer
- type UnsafeUserServiceServer
- 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) GetCollection() *Collection
- func (*UpdateCollectionResponse) ProtoMessage()
- func (x *UpdateCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateCollectionResponse) Reset()
- func (x *UpdateCollectionResponse) String() string
- 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
- 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) BindUserVoucher(ctx context.Context, in *BindUserVoucherRequest, opts ...http.CallOption) (*BindUserVoucherResponse, error)
- func (c *UserServiceHTTPClientImpl) GetUserInfo(ctx context.Context, in *GetUserInfoRequest, opts ...http.CallOption) (*GetUserInfoResponse, error)
- func (c *UserServiceHTTPClientImpl) GetVerificationCode(ctx context.Context, in *GetVerificationCodeRequest, opts ...http.CallOption) (*GetVerificationCodeResponse, error)
- func (c *UserServiceHTTPClientImpl) Login(ctx context.Context, in *LoginRequest, opts ...http.CallOption) (*LoginResponse, error)
- func (c *UserServiceHTTPClientImpl) Register(ctx context.Context, in *RegisterRequest, opts ...http.CallOption) (*RegisterResponse, error)
- func (c *UserServiceHTTPClientImpl) UnbindUserVoucher(ctx context.Context, in *UnbindUserVoucherRequest, opts ...http.CallOption) (*UnbindUserVoucherResponse, 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() *VideoAuthor
- func (x *Video) GetCollectedCount() int64
- func (x *Video) GetCommentCount() int64
- func (x *Video) GetCoverUrl() string
- func (x *Video) GetFavoriteCount() int64
- func (x *Video) GetId() int64
- func (x *Video) GetIsCollected() bool
- func (x *Video) GetIsFavorite() bool
- func (x *Video) GetPlayUrl() string
- func (x *Video) GetTitle() string
- func (*Video) ProtoMessage()
- func (x *Video) ProtoReflect() protoreflect.Message
- func (x *Video) Reset()
- func (x *Video) String() string
- type VideoAuthor
- func (*VideoAuthor) Descriptor() ([]byte, []int)deprecated
- func (x *VideoAuthor) GetAvatar() string
- func (x *VideoAuthor) GetId() int64
- func (x *VideoAuthor) GetIsFollowing() bool
- func (x *VideoAuthor) GetName() string
- func (*VideoAuthor) ProtoMessage()
- func (x *VideoAuthor) ProtoReflect() protoreflect.Message
- func (x *VideoAuthor) Reset()
- func (x *VideoAuthor) String() string
- type VoucherType
- func (VoucherType) Descriptor() protoreflect.EnumDescriptor
- func (x VoucherType) Enum() *VoucherType
- func (VoucherType) EnumDescriptor() ([]byte, []int)deprecated
- func (x VoucherType) Number() protoreflect.EnumNumber
- func (x VoucherType) String() string
- func (VoucherType) Type() protoreflect.EnumType
Constants ¶
const ( CollectionService_CreateCollection_FullMethodName = "/gateway.v1.CollectionService/CreateCollection" CollectionService_RemoveCollection_FullMethodName = "/gateway.v1.CollectionService/RemoveCollection" CollectionService_ListCollection_FullMethodName = "/gateway.v1.CollectionService/ListCollection" CollectionService_UpdateCollection_FullMethodName = "/gateway.v1.CollectionService/UpdateCollection" CollectionService_AddVideo2Collection_FullMethodName = "/gateway.v1.CollectionService/AddVideo2Collection" CollectionService_RemoveVideoFromCollection_FullMethodName = "/gateway.v1.CollectionService/RemoveVideoFromCollection" CollectionService_ListVideo4Collection_FullMethodName = "/gateway.v1.CollectionService/ListVideo4Collection" )
const ( CommentService_CreateComment_FullMethodName = "/gateway.v1.CommentService/CreateComment" CommentService_RemoveComment_FullMethodName = "/gateway.v1.CommentService/RemoveComment" CommentService_ListComment4Video_FullMethodName = "/gateway.v1.CommentService/ListComment4Video" CommentService_ListChildComment_FullMethodName = "/gateway.v1.CommentService/ListChildComment" )
const ( FavoriteService_AddFavorite_FullMethodName = "/gateway.v1.FavoriteService/AddFavorite" FavoriteService_RemoveFavorite_FullMethodName = "/gateway.v1.FavoriteService/RemoveFavorite" FavoriteService_ListFavoriteVideo_FullMethodName = "/gateway.v1.FavoriteService/ListFavoriteVideo" )
const ( FileService_PreSignUploadingPublicFile_FullMethodName = "/gateway.v1.FileService/PreSignUploadingPublicFile" FileService_ReportPublicFileUploaded_FullMethodName = "/gateway.v1.FileService/ReportPublicFileUploaded" )
const ( FollowService_AddFollow_FullMethodName = "/gateway.v1.FollowService/AddFollow" FollowService_RemoveFollow_FullMethodName = "/gateway.v1.FollowService/RemoveFollow" FollowService_ListFollowing_FullMethodName = "/gateway.v1.FollowService/ListFollowing" )
const ( UserService_GetVerificationCode_FullMethodName = "/gateway.v1.UserService/GetVerificationCode" UserService_Register_FullMethodName = "/gateway.v1.UserService/Register" UserService_Login_FullMethodName = "/gateway.v1.UserService/Login" UserService_GetUserInfo_FullMethodName = "/gateway.v1.UserService/GetUserInfo" UserService_UpdateUserInfo_FullMethodName = "/gateway.v1.UserService/UpdateUserInfo" UserService_BindUserVoucher_FullMethodName = "/gateway.v1.UserService/BindUserVoucher" UserService_UnbindUserVoucher_FullMethodName = "/gateway.v1.UserService/UnbindUserVoucher" )
const ( ShortVideoCoreVideoService_PreSign4UploadVideo_FullMethodName = "/gateway.v1.ShortVideoCoreVideoService/PreSign4UploadVideo" ShortVideoCoreVideoService_PreSign4UploadCover_FullMethodName = "/gateway.v1.ShortVideoCoreVideoService/PreSign4UploadCover" ShortVideoCoreVideoService_ReportFinishUpload_FullMethodName = "/gateway.v1.ShortVideoCoreVideoService/ReportFinishUpload" ShortVideoCoreVideoService_ReportVideoFinishUpload_FullMethodName = "/gateway.v1.ShortVideoCoreVideoService/ReportVideoFinishUpload" ShortVideoCoreVideoService_FeedShortVideo_FullMethodName = "/gateway.v1.ShortVideoCoreVideoService/FeedShortVideo" ShortVideoCoreVideoService_GetVideoById_FullMethodName = "/gateway.v1.ShortVideoCoreVideoService/GetVideoById" ShortVideoCoreVideoService_ListPublishedVideo_FullMethodName = "/gateway.v1.ShortVideoCoreVideoService/ListPublishedVideo" )
const OperationCollectionServiceAddVideo2Collection = "/gateway.v1.CollectionService/AddVideo2Collection"
const OperationCollectionServiceCreateCollection = "/gateway.v1.CollectionService/CreateCollection"
const OperationCollectionServiceListCollection = "/gateway.v1.CollectionService/ListCollection"
const OperationCollectionServiceListVideo4Collection = "/gateway.v1.CollectionService/ListVideo4Collection"
const OperationCollectionServiceRemoveCollection = "/gateway.v1.CollectionService/RemoveCollection"
const OperationCollectionServiceRemoveVideoFromCollection = "/gateway.v1.CollectionService/RemoveVideoFromCollection"
const OperationCollectionServiceUpdateCollection = "/gateway.v1.CollectionService/UpdateCollection"
const OperationCommentServiceCreateComment = "/gateway.v1.CommentService/CreateComment"
const OperationCommentServiceListChildComment = "/gateway.v1.CommentService/ListChildComment"
const OperationCommentServiceListComment4Video = "/gateway.v1.CommentService/ListComment4Video"
const OperationCommentServiceRemoveComment = "/gateway.v1.CommentService/RemoveComment"
const OperationFavoriteServiceAddFavorite = "/gateway.v1.FavoriteService/AddFavorite"
const OperationFavoriteServiceListFavoriteVideo = "/gateway.v1.FavoriteService/ListFavoriteVideo"
const OperationFavoriteServiceRemoveFavorite = "/gateway.v1.FavoriteService/RemoveFavorite"
const OperationFileServicePreSignUploadingPublicFile = "/gateway.v1.FileService/PreSignUploadingPublicFile"
const OperationFileServiceReportPublicFileUploaded = "/gateway.v1.FileService/ReportPublicFileUploaded"
const OperationFollowServiceAddFollow = "/gateway.v1.FollowService/AddFollow"
const OperationFollowServiceListFollowing = "/gateway.v1.FollowService/ListFollowing"
const OperationFollowServiceRemoveFollow = "/gateway.v1.FollowService/RemoveFollow"
const OperationShortVideoCoreVideoServiceFeedShortVideo = "/gateway.v1.ShortVideoCoreVideoService/FeedShortVideo"
const OperationShortVideoCoreVideoServiceGetVideoById = "/gateway.v1.ShortVideoCoreVideoService/GetVideoById"
const OperationShortVideoCoreVideoServiceListPublishedVideo = "/gateway.v1.ShortVideoCoreVideoService/ListPublishedVideo"
const OperationShortVideoCoreVideoServicePreSign4UploadCover = "/gateway.v1.ShortVideoCoreVideoService/PreSign4UploadCover"
const OperationShortVideoCoreVideoServicePreSign4UploadVideo = "/gateway.v1.ShortVideoCoreVideoService/PreSign4UploadVideo"
const OperationShortVideoCoreVideoServiceReportFinishUpload = "/gateway.v1.ShortVideoCoreVideoService/ReportFinishUpload"
const OperationShortVideoCoreVideoServiceReportVideoFinishUpload = "/gateway.v1.ShortVideoCoreVideoService/ReportVideoFinishUpload"
const OperationUserServiceBindUserVoucher = "/gateway.v1.UserService/BindUserVoucher"
const OperationUserServiceGetUserInfo = "/gateway.v1.UserService/GetUserInfo"
const OperationUserServiceGetVerificationCode = "/gateway.v1.UserService/GetVerificationCode"
const OperationUserServiceLogin = "/gateway.v1.UserService/Login"
const OperationUserServiceRegister = "/gateway.v1.UserService/Register"
const OperationUserServiceUnbindUserVoucher = "/gateway.v1.UserService/UnbindUserVoucher"
const OperationUserServiceUpdateUserInfo = "/gateway.v1.UserService/UpdateUserInfo"
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 ( FavoriteTarget_name = map[int32]string{ 0: "VIDEO", 1: "COMMENT", } FavoriteTarget_value = map[string]int32{ "VIDEO": 0, "COMMENT": 1, } )
Enum value maps for FavoriteTarget.
var ( FavoriteType_name = map[int32]string{ 0: "FAVORITE", 1: "UNLIKE", } FavoriteType_value = map[string]int32{ "FAVORITE": 0, "UNLIKE": 1, } )
Enum value maps for FavoriteType.
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 ( VoucherType_name = map[int32]string{ 0: "PHONE", 1: "EMAIL", } VoucherType_value = map[string]int32{ "PHONE": 0, "EMAIL": 1, } )
Enum value maps for VoucherType.
var CollectionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gateway.v1.CollectionService", HandlerType: (*CollectionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateCollection", Handler: _CollectionService_CreateCollection_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: "ListVideo4Collection", Handler: _CollectionService_ListVideo4Collection_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "gateway/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: "gateway.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: "ListChildComment", Handler: _CommentService_ListChildComment_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "gateway/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 FavoriteService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gateway.v1.FavoriteService", HandlerType: (*FavoriteServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddFavorite", Handler: _FavoriteService_AddFavorite_Handler, }, { MethodName: "RemoveFavorite", Handler: _FavoriteService_RemoveFavorite_Handler, }, { MethodName: "ListFavoriteVideo", Handler: _FavoriteService_ListFavoriteVideo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "gateway/v1/favorite.proto", }
FavoriteService_ServiceDesc is the grpc.ServiceDesc for FavoriteService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var FileService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gateway.v1.FileService", HandlerType: (*FileServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PreSignUploadingPublicFile", Handler: _FileService_PreSignUploadingPublicFile_Handler, }, { MethodName: "ReportPublicFileUploaded", Handler: _FileService_ReportPublicFileUploaded_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "gateway/v1/file.proto", }
FileService_ServiceDesc is the grpc.ServiceDesc for FileService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_gateway_v1_collection_proto protoreflect.FileDescriptor
var File_gateway_v1_comment_proto protoreflect.FileDescriptor
var File_gateway_v1_common_proto protoreflect.FileDescriptor
var File_gateway_v1_favorite_proto protoreflect.FileDescriptor
var File_gateway_v1_file_proto protoreflect.FileDescriptor
var File_gateway_v1_follow_proto protoreflect.FileDescriptor
var File_gateway_v1_user_proto protoreflect.FileDescriptor
var File_gateway_v1_video_proto protoreflect.FileDescriptor
var FollowService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gateway.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, }, }, Streams: []grpc.StreamDesc{}, Metadata: "gateway/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 ShortVideoCoreVideoService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gateway.v1.ShortVideoCoreVideoService", HandlerType: (*ShortVideoCoreVideoServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PreSign4UploadVideo", Handler: _ShortVideoCoreVideoService_PreSign4UploadVideo_Handler, }, { MethodName: "PreSign4UploadCover", Handler: _ShortVideoCoreVideoService_PreSign4UploadCover_Handler, }, { MethodName: "ReportFinishUpload", Handler: _ShortVideoCoreVideoService_ReportFinishUpload_Handler, }, { MethodName: "ReportVideoFinishUpload", Handler: _ShortVideoCoreVideoService_ReportVideoFinishUpload_Handler, }, { MethodName: "FeedShortVideo", Handler: _ShortVideoCoreVideoService_FeedShortVideo_Handler, }, { MethodName: "GetVideoById", Handler: _ShortVideoCoreVideoService_GetVideoById_Handler, }, { MethodName: "ListPublishedVideo", Handler: _ShortVideoCoreVideoService_ListPublishedVideo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "gateway/v1/video.proto", }
ShortVideoCoreVideoService_ServiceDesc is the grpc.ServiceDesc for ShortVideoCoreVideoService 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: "gateway.v1.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetVerificationCode", Handler: _UserService_GetVerificationCode_Handler, }, { MethodName: "Register", Handler: _UserService_Register_Handler, }, { MethodName: "Login", Handler: _UserService_Login_Handler, }, { MethodName: "GetUserInfo", Handler: _UserService_GetUserInfo_Handler, }, { MethodName: "UpdateUserInfo", Handler: _UserService_UpdateUserInfo_Handler, }, { MethodName: "BindUserVoucher", Handler: _UserService_BindUserVoucher_Handler, }, { MethodName: "UnbindUserVoucher", Handler: _UserService_UnbindUserVoucher_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "gateway/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)
Functions ¶
func RegisterCollectionServiceHTTPServer ¶
func RegisterCollectionServiceHTTPServer(s *http.Server, srv CollectionServiceHTTPServer)
func RegisterCollectionServiceServer ¶
func RegisterCollectionServiceServer(s grpc.ServiceRegistrar, srv CollectionServiceServer)
func RegisterCommentServiceHTTPServer ¶
func RegisterCommentServiceHTTPServer(s *http.Server, srv CommentServiceHTTPServer)
func RegisterCommentServiceServer ¶
func RegisterCommentServiceServer(s grpc.ServiceRegistrar, srv CommentServiceServer)
func RegisterFavoriteServiceHTTPServer ¶
func RegisterFavoriteServiceHTTPServer(s *http.Server, srv FavoriteServiceHTTPServer)
func RegisterFavoriteServiceServer ¶
func RegisterFavoriteServiceServer(s grpc.ServiceRegistrar, srv FavoriteServiceServer)
func RegisterFileServiceHTTPServer ¶
func RegisterFileServiceHTTPServer(s *http.Server, srv FileServiceHTTPServer)
func RegisterFileServiceServer ¶
func RegisterFileServiceServer(s grpc.ServiceRegistrar, srv FileServiceServer)
func RegisterFollowServiceHTTPServer ¶
func RegisterFollowServiceHTTPServer(s *http.Server, srv FollowServiceHTTPServer)
func RegisterFollowServiceServer ¶
func RegisterFollowServiceServer(s grpc.ServiceRegistrar, srv FollowServiceServer)
func RegisterShortVideoCoreVideoServiceHTTPServer ¶
func RegisterShortVideoCoreVideoServiceHTTPServer(s *http.Server, srv ShortVideoCoreVideoServiceHTTPServer)
func RegisterShortVideoCoreVideoServiceServer ¶
func RegisterShortVideoCoreVideoServiceServer(s grpc.ServiceRegistrar, srv ShortVideoCoreVideoServiceServer)
func RegisterUserServiceHTTPServer ¶
func RegisterUserServiceHTTPServer(s *http.Server, srv UserServiceHTTPServer)
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
Types ¶
type AddFavoriteRequest ¶
type AddFavoriteRequest struct { Target FavoriteTarget `protobuf:"varint,1,opt,name=target,proto3,enum=gateway.v1.FavoriteTarget" json:"target,omitempty"` Type FavoriteType `protobuf:"varint,2,opt,name=type,proto3,enum=gateway.v1.FavoriteType" json:"type,omitempty"` // @gotags: json:"id,omitempty,string" Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AddFavoriteRequest) Descriptor
deprecated
func (*AddFavoriteRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddFavoriteRequest.ProtoReflect.Descriptor instead.
func (*AddFavoriteRequest) GetId ¶
func (x *AddFavoriteRequest) GetId() int64
func (*AddFavoriteRequest) GetTarget ¶
func (x *AddFavoriteRequest) GetTarget() FavoriteTarget
func (*AddFavoriteRequest) GetType ¶
func (x *AddFavoriteRequest) GetType() FavoriteType
func (*AddFavoriteRequest) ProtoMessage ¶
func (*AddFavoriteRequest) ProtoMessage()
func (*AddFavoriteRequest) ProtoReflect ¶
func (x *AddFavoriteRequest) ProtoReflect() protoreflect.Message
func (*AddFavoriteRequest) Reset ¶
func (x *AddFavoriteRequest) Reset()
func (*AddFavoriteRequest) String ¶
func (x *AddFavoriteRequest) String() string
type AddFavoriteResponse ¶
type AddFavoriteResponse struct {
// contains filtered or unexported fields
}
func (*AddFavoriteResponse) Descriptor
deprecated
func (*AddFavoriteResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddFavoriteResponse.ProtoReflect.Descriptor instead.
func (*AddFavoriteResponse) ProtoMessage ¶
func (*AddFavoriteResponse) ProtoMessage()
func (*AddFavoriteResponse) ProtoReflect ¶
func (x *AddFavoriteResponse) ProtoReflect() protoreflect.Message
func (*AddFavoriteResponse) Reset ¶
func (x *AddFavoriteResponse) Reset()
func (*AddFavoriteResponse) String ¶
func (x *AddFavoriteResponse) String() string
type AddFollowRequest ¶
type AddFollowRequest struct { // @gotags: json:"userId,omitempty,string" UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id // contains filtered or unexported fields }
func (*AddFollowRequest) Descriptor
deprecated
func (*AddFollowRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddFollowRequest.ProtoReflect.Descriptor instead.
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 {
// contains filtered or unexported fields
}
func (*AddFollowResponse) Descriptor
deprecated
func (*AddFollowResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddFollowResponse.ProtoReflect.Descriptor instead.
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 { // @gotags: json:"collectionId,omitempty,string" CollectionId int64 `protobuf:"varint,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` // 收藏夹id,不传则添加到默认收藏夹 // @gotags: json:"videoId,omitempty,string" VideoId int64 `protobuf:"varint,2,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` // 视频id // 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) 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 {
// contains filtered or unexported fields
}
func (*AddVideo2CollectionResponse) Descriptor
deprecated
func (*AddVideo2CollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddVideo2CollectionResponse.ProtoReflect.Descriptor instead.
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 BindUserVoucherRequest ¶
type BindUserVoucherRequest struct { VoucherType VoucherType `protobuf:"varint,1,opt,name=voucher_type,json=voucherType,proto3,enum=gateway.v1.VoucherType" json:"voucher_type,omitempty"` Voucher string `protobuf:"bytes,2,opt,name=voucher,proto3" json:"voucher,omitempty"` // contains filtered or unexported fields }
func (*BindUserVoucherRequest) Descriptor
deprecated
func (*BindUserVoucherRequest) Descriptor() ([]byte, []int)
Deprecated: Use BindUserVoucherRequest.ProtoReflect.Descriptor instead.
func (*BindUserVoucherRequest) GetVoucher ¶
func (x *BindUserVoucherRequest) GetVoucher() string
func (*BindUserVoucherRequest) GetVoucherType ¶
func (x *BindUserVoucherRequest) GetVoucherType() VoucherType
func (*BindUserVoucherRequest) ProtoMessage ¶
func (*BindUserVoucherRequest) ProtoMessage()
func (*BindUserVoucherRequest) ProtoReflect ¶
func (x *BindUserVoucherRequest) ProtoReflect() protoreflect.Message
func (*BindUserVoucherRequest) Reset ¶
func (x *BindUserVoucherRequest) Reset()
func (*BindUserVoucherRequest) String ¶
func (x *BindUserVoucherRequest) String() string
type BindUserVoucherResponse ¶
type BindUserVoucherResponse struct {
// contains filtered or unexported fields
}
func (*BindUserVoucherResponse) Descriptor
deprecated
func (*BindUserVoucherResponse) Descriptor() ([]byte, []int)
Deprecated: Use BindUserVoucherResponse.ProtoReflect.Descriptor instead.
func (*BindUserVoucherResponse) ProtoMessage ¶
func (*BindUserVoucherResponse) ProtoMessage()
func (*BindUserVoucherResponse) ProtoReflect ¶
func (x *BindUserVoucherResponse) ProtoReflect() protoreflect.Message
func (*BindUserVoucherResponse) Reset ¶
func (x *BindUserVoucherResponse) Reset()
func (*BindUserVoucherResponse) String ¶
func (x *BindUserVoucherResponse) String() string
type Collection ¶
type Collection struct { // @gotags: json:"id,omitempty,string" Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 收藏夹id // @gotags: json:"userId,omitempty,string" UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id 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) // 删除收藏夹 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) // 列出收藏夹中的视频 ListVideo4Collection(ctx context.Context, in *ListVideo4CollectionRequest, opts ...grpc.CallOption) (*ListVideo4CollectionResponse, 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 CollectionServiceHTTPClient ¶
type CollectionServiceHTTPClient interface { AddVideo2Collection(ctx context.Context, req *AddVideo2CollectionRequest, opts ...http.CallOption) (rsp *AddVideo2CollectionResponse, err error) CreateCollection(ctx context.Context, req *CreateCollectionRequest, opts ...http.CallOption) (rsp *CreateCollectionResponse, err error) ListCollection(ctx context.Context, req *ListCollectionRequest, opts ...http.CallOption) (rsp *ListCollectionResponse, err error) ListVideo4Collection(ctx context.Context, req *ListVideo4CollectionRequest, opts ...http.CallOption) (rsp *ListVideo4CollectionResponse, err error) RemoveCollection(ctx context.Context, req *RemoveCollectionRequest, opts ...http.CallOption) (rsp *RemoveCollectionResponse, err error) RemoveVideoFromCollection(ctx context.Context, req *RemoveVideoFromCollectionRequest, opts ...http.CallOption) (rsp *RemoveVideoFromCollectionResponse, err error) UpdateCollection(ctx context.Context, req *UpdateCollectionRequest, opts ...http.CallOption) (rsp *UpdateCollectionResponse, err error) }
func NewCollectionServiceHTTPClient ¶
func NewCollectionServiceHTTPClient(client *http.Client) CollectionServiceHTTPClient
type CollectionServiceHTTPClientImpl ¶
type CollectionServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*CollectionServiceHTTPClientImpl) AddVideo2Collection ¶
func (c *CollectionServiceHTTPClientImpl) AddVideo2Collection(ctx context.Context, in *AddVideo2CollectionRequest, opts ...http.CallOption) (*AddVideo2CollectionResponse, error)
func (*CollectionServiceHTTPClientImpl) CreateCollection ¶
func (c *CollectionServiceHTTPClientImpl) CreateCollection(ctx context.Context, in *CreateCollectionRequest, opts ...http.CallOption) (*CreateCollectionResponse, error)
func (*CollectionServiceHTTPClientImpl) ListCollection ¶
func (c *CollectionServiceHTTPClientImpl) ListCollection(ctx context.Context, in *ListCollectionRequest, opts ...http.CallOption) (*ListCollectionResponse, error)
func (*CollectionServiceHTTPClientImpl) ListVideo4Collection ¶
func (c *CollectionServiceHTTPClientImpl) ListVideo4Collection(ctx context.Context, in *ListVideo4CollectionRequest, opts ...http.CallOption) (*ListVideo4CollectionResponse, error)
func (*CollectionServiceHTTPClientImpl) RemoveCollection ¶
func (c *CollectionServiceHTTPClientImpl) RemoveCollection(ctx context.Context, in *RemoveCollectionRequest, opts ...http.CallOption) (*RemoveCollectionResponse, error)
func (*CollectionServiceHTTPClientImpl) RemoveVideoFromCollection ¶
func (c *CollectionServiceHTTPClientImpl) RemoveVideoFromCollection(ctx context.Context, in *RemoveVideoFromCollectionRequest, opts ...http.CallOption) (*RemoveVideoFromCollectionResponse, error)
func (*CollectionServiceHTTPClientImpl) UpdateCollection ¶
func (c *CollectionServiceHTTPClientImpl) UpdateCollection(ctx context.Context, in *UpdateCollectionRequest, opts ...http.CallOption) (*UpdateCollectionResponse, error)
type CollectionServiceHTTPServer ¶
type CollectionServiceHTTPServer interface { // AddVideo2Collection 将视频添加到收藏夹 AddVideo2Collection(context.Context, *AddVideo2CollectionRequest) (*AddVideo2CollectionResponse, error) // CreateCollection 创建收藏夹 CreateCollection(context.Context, *CreateCollectionRequest) (*CreateCollectionResponse, error) // ListCollection 列出用户的收藏夹 ListCollection(context.Context, *ListCollectionRequest) (*ListCollectionResponse, error) // ListVideo4Collection 列出收藏夹中的视频 ListVideo4Collection(context.Context, *ListVideo4CollectionRequest) (*ListVideo4CollectionResponse, error) // RemoveCollection 删除收藏夹 RemoveCollection(context.Context, *RemoveCollectionRequest) (*RemoveCollectionResponse, error) // RemoveVideoFromCollection 从收藏夹中移除视频 RemoveVideoFromCollection(context.Context, *RemoveVideoFromCollectionRequest) (*RemoveVideoFromCollectionResponse, error) // UpdateCollection 更新收藏夹信息 UpdateCollection(context.Context, *UpdateCollectionRequest) (*UpdateCollectionResponse, error) }
type CollectionServiceServer ¶
type CollectionServiceServer interface { // 创建收藏夹 CreateCollection(context.Context, *CreateCollectionRequest) (*CreateCollectionResponse, 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) // 列出收藏夹中的视频 ListVideo4Collection(context.Context, *ListVideo4CollectionRequest) (*ListVideo4CollectionResponse, error) // contains filtered or unexported methods }
CollectionServiceServer is the server API for CollectionService service. All implementations must embed UnimplementedCollectionServiceServer for forward compatibility.
收藏夹服务
type CollectionVideo ¶
type CollectionVideo struct { // @gotags: json:"id,omitempty,string" Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 收藏夹id // @gotags: json:"videoId,omitempty,string" VideoId int64 `protobuf:"varint,2,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` // 视频id CoverUrl string `protobuf:"bytes,3,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"` // 视频封面地址 Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` // 视频标题 Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // 视频描述 VideoUrl string `protobuf:"bytes,6,opt,name=video_url,json=videoUrl,proto3" json:"video_url,omitempty"` // 视频地址 // contains filtered or unexported fields }
func (*CollectionVideo) Descriptor
deprecated
func (*CollectionVideo) Descriptor() ([]byte, []int)
Deprecated: Use CollectionVideo.ProtoReflect.Descriptor instead.
func (*CollectionVideo) GetCoverUrl ¶
func (x *CollectionVideo) GetCoverUrl() string
func (*CollectionVideo) GetDescription ¶
func (x *CollectionVideo) GetDescription() string
func (*CollectionVideo) GetId ¶
func (x *CollectionVideo) GetId() int64
func (*CollectionVideo) GetTitle ¶
func (x *CollectionVideo) GetTitle() string
func (*CollectionVideo) GetVideoId ¶
func (x *CollectionVideo) GetVideoId() int64
func (*CollectionVideo) GetVideoUrl ¶
func (x *CollectionVideo) GetVideoUrl() string
func (*CollectionVideo) ProtoMessage ¶
func (*CollectionVideo) ProtoMessage()
func (*CollectionVideo) ProtoReflect ¶
func (x *CollectionVideo) ProtoReflect() protoreflect.Message
func (*CollectionVideo) Reset ¶
func (x *CollectionVideo) Reset()
func (*CollectionVideo) String ¶
func (x *CollectionVideo) String() string
type Comment ¶
type Comment struct { // @gotags: json:"id,omitempty,string" Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 评论id // @gotags: json:"videoId,omitempty,string" VideoId int64 `protobuf:"varint,2,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` // 视频id // @gotags: json:"parentId,omitempty,string" ParentId int64 `protobuf:"varint,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 父评论id User *CommentUser `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` // 评论用户 ReplyUser *CommentUser `protobuf:"bytes,5,opt,name=reply_user,json=replyUser,proto3" json:"reply_user,omitempty"` // 回复用户 Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` // 评论内容 Date string `protobuf:"bytes,7,opt,name=date,proto3" json:"date,omitempty"` // 评论日期 LikeCount string `protobuf:"bytes,8,opt,name=like_count,json=likeCount,proto3" json:"like_count,omitempty"` // 点赞数 ReplyCount string `protobuf:"bytes,9,opt,name=reply_count,json=replyCount,proto3" json:"reply_count,omitempty"` // 回复数 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) GetReplyUser ¶
func (x *Comment) GetReplyUser() *CommentUser
func (*Comment) GetUser ¶
func (x *Comment) GetUser() *CommentUser
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) ListChildComment(ctx context.Context, in *ListChildCommentRequest, opts ...grpc.CallOption) (*ListChildCommentResponse, 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 CommentServiceHTTPClient ¶
type CommentServiceHTTPClient interface { CreateComment(ctx context.Context, req *CreateCommentRequest, opts ...http.CallOption) (rsp *CreateCommentResponse, err error) ListChildComment(ctx context.Context, req *ListChildCommentRequest, opts ...http.CallOption) (rsp *ListChildCommentResponse, err error) ListComment4Video(ctx context.Context, req *ListComment4VideoRequest, opts ...http.CallOption) (rsp *ListComment4VideoResponse, err error) RemoveComment(ctx context.Context, req *RemoveCommentRequest, opts ...http.CallOption) (rsp *RemoveCommentResponse, err error) }
func NewCommentServiceHTTPClient ¶
func NewCommentServiceHTTPClient(client *http.Client) CommentServiceHTTPClient
type CommentServiceHTTPClientImpl ¶
type CommentServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*CommentServiceHTTPClientImpl) CreateComment ¶
func (c *CommentServiceHTTPClientImpl) CreateComment(ctx context.Context, in *CreateCommentRequest, opts ...http.CallOption) (*CreateCommentResponse, error)
func (*CommentServiceHTTPClientImpl) ListChildComment ¶
func (c *CommentServiceHTTPClientImpl) ListChildComment(ctx context.Context, in *ListChildCommentRequest, opts ...http.CallOption) (*ListChildCommentResponse, error)
func (*CommentServiceHTTPClientImpl) ListComment4Video ¶
func (c *CommentServiceHTTPClientImpl) ListComment4Video(ctx context.Context, in *ListComment4VideoRequest, opts ...http.CallOption) (*ListComment4VideoResponse, error)
func (*CommentServiceHTTPClientImpl) RemoveComment ¶
func (c *CommentServiceHTTPClientImpl) RemoveComment(ctx context.Context, in *RemoveCommentRequest, opts ...http.CallOption) (*RemoveCommentResponse, error)
type CommentServiceHTTPServer ¶
type CommentServiceHTTPServer interface { // CreateComment 创建评论 CreateComment(context.Context, *CreateCommentRequest) (*CreateCommentResponse, error) ListChildComment(context.Context, *ListChildCommentRequest) (*ListChildCommentResponse, error) // ListComment4Video 列出视频的评论 ListComment4Video(context.Context, *ListComment4VideoRequest) (*ListComment4VideoResponse, error) // RemoveComment 删除评论 RemoveComment(context.Context, *RemoveCommentRequest) (*RemoveCommentResponse, error) }
type CommentServiceServer ¶
type CommentServiceServer interface { // 创建评论 CreateComment(context.Context, *CreateCommentRequest) (*CreateCommentResponse, error) // 删除评论 RemoveComment(context.Context, *RemoveCommentRequest) (*RemoveCommentResponse, error) // 列出视频的评论 ListComment4Video(context.Context, *ListComment4VideoRequest) (*ListComment4VideoResponse, error) ListChildComment(context.Context, *ListChildCommentRequest) (*ListChildCommentResponse, error) // contains filtered or unexported methods }
CommentServiceServer is the server API for CommentService service. All implementations must embed UnimplementedCommentServiceServer for forward compatibility.
评论
type CommentUser ¶
type CommentUser struct { // @gotags: json:"id,omitempty,string" 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"` // 用户头像 IsFollowing bool `protobuf:"varint,4,opt,name=is_following,json=isFollowing,proto3" json:"is_following,omitempty"` // 是否关注 // contains filtered or unexported fields }
func (*CommentUser) Descriptor
deprecated
func (*CommentUser) Descriptor() ([]byte, []int)
Deprecated: Use CommentUser.ProtoReflect.Descriptor instead.
func (*CommentUser) GetAvatar ¶
func (x *CommentUser) GetAvatar() string
func (*CommentUser) GetId ¶
func (x *CommentUser) GetId() int64
func (*CommentUser) GetIsFollowing ¶
func (x *CommentUser) GetIsFollowing() bool
func (*CommentUser) GetName ¶
func (x *CommentUser) GetName() string
func (*CommentUser) ProtoMessage ¶
func (*CommentUser) ProtoMessage()
func (*CommentUser) ProtoReflect ¶
func (x *CommentUser) ProtoReflect() protoreflect.Message
func (*CommentUser) Reset ¶
func (x *CommentUser) Reset()
func (*CommentUser) String ¶
func (x *CommentUser) 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"` // 收藏夹描述 // 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) 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 { Collection *Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` // contains filtered or unexported fields }
func (*CreateCollectionResponse) Descriptor
deprecated
func (*CreateCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCollectionResponse.ProtoReflect.Descriptor instead.
func (*CreateCollectionResponse) GetCollection ¶
func (x *CreateCollectionResponse) GetCollection() *Collection
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 { // @gotags: json:"videoId,omitempty,string" VideoId int64 `protobuf:"varint,1,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` // 视频id Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // 评论内容 // @gotags: json:"parentId,omitempty,string" ParentId int64 `protobuf:"varint,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // @gotags: json:"replyUserId,omitempty,string" ReplyUserId int64 `protobuf:"varint,4,opt,name=reply_user_id,json=replyUserId,proto3" json:"reply_user_id,omitempty"` // 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) 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 { Comment *Comment `protobuf:"bytes,1,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) 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 FavoriteServiceClient ¶
type FavoriteServiceClient interface { AddFavorite(ctx context.Context, in *AddFavoriteRequest, opts ...grpc.CallOption) (*AddFavoriteResponse, error) RemoveFavorite(ctx context.Context, in *RemoveFavoriteRequest, opts ...grpc.CallOption) (*RemoveFavoriteResponse, error) ListFavoriteVideo(ctx context.Context, in *ListFavoriteVideoRequest, opts ...grpc.CallOption) (*ListFavoriteVideoResponse, error) }
FavoriteServiceClient is the client API for FavoriteService 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 NewFavoriteServiceClient ¶
func NewFavoriteServiceClient(cc grpc.ClientConnInterface) FavoriteServiceClient
type FavoriteServiceHTTPClient ¶
type FavoriteServiceHTTPClient interface { AddFavorite(ctx context.Context, req *AddFavoriteRequest, opts ...http.CallOption) (rsp *AddFavoriteResponse, err error) ListFavoriteVideo(ctx context.Context, req *ListFavoriteVideoRequest, opts ...http.CallOption) (rsp *ListFavoriteVideoResponse, err error) RemoveFavorite(ctx context.Context, req *RemoveFavoriteRequest, opts ...http.CallOption) (rsp *RemoveFavoriteResponse, err error) }
func NewFavoriteServiceHTTPClient ¶
func NewFavoriteServiceHTTPClient(client *http.Client) FavoriteServiceHTTPClient
type FavoriteServiceHTTPClientImpl ¶
type FavoriteServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*FavoriteServiceHTTPClientImpl) AddFavorite ¶
func (c *FavoriteServiceHTTPClientImpl) AddFavorite(ctx context.Context, in *AddFavoriteRequest, opts ...http.CallOption) (*AddFavoriteResponse, error)
func (*FavoriteServiceHTTPClientImpl) ListFavoriteVideo ¶
func (c *FavoriteServiceHTTPClientImpl) ListFavoriteVideo(ctx context.Context, in *ListFavoriteVideoRequest, opts ...http.CallOption) (*ListFavoriteVideoResponse, error)
func (*FavoriteServiceHTTPClientImpl) RemoveFavorite ¶
func (c *FavoriteServiceHTTPClientImpl) RemoveFavorite(ctx context.Context, in *RemoveFavoriteRequest, opts ...http.CallOption) (*RemoveFavoriteResponse, error)
type FavoriteServiceHTTPServer ¶
type FavoriteServiceHTTPServer interface { AddFavorite(context.Context, *AddFavoriteRequest) (*AddFavoriteResponse, error) ListFavoriteVideo(context.Context, *ListFavoriteVideoRequest) (*ListFavoriteVideoResponse, error) RemoveFavorite(context.Context, *RemoveFavoriteRequest) (*RemoveFavoriteResponse, error) }
type FavoriteServiceServer ¶
type FavoriteServiceServer interface { AddFavorite(context.Context, *AddFavoriteRequest) (*AddFavoriteResponse, error) RemoveFavorite(context.Context, *RemoveFavoriteRequest) (*RemoveFavoriteResponse, error) ListFavoriteVideo(context.Context, *ListFavoriteVideoRequest) (*ListFavoriteVideoResponse, error) // contains filtered or unexported methods }
FavoriteServiceServer is the server API for FavoriteService service. All implementations must embed UnimplementedFavoriteServiceServer for forward compatibility.
点赞
type FavoriteTarget ¶
type FavoriteTarget int32
const ( FavoriteTarget_VIDEO FavoriteTarget = 0 FavoriteTarget_COMMENT FavoriteTarget = 1 )
func (FavoriteTarget) Descriptor ¶
func (FavoriteTarget) Descriptor() protoreflect.EnumDescriptor
func (FavoriteTarget) Enum ¶
func (x FavoriteTarget) Enum() *FavoriteTarget
func (FavoriteTarget) EnumDescriptor
deprecated
func (FavoriteTarget) EnumDescriptor() ([]byte, []int)
Deprecated: Use FavoriteTarget.Descriptor instead.
func (FavoriteTarget) Number ¶
func (x FavoriteTarget) Number() protoreflect.EnumNumber
func (FavoriteTarget) String ¶
func (x FavoriteTarget) String() string
func (FavoriteTarget) Type ¶
func (FavoriteTarget) Type() protoreflect.EnumType
type FavoriteType ¶
type FavoriteType int32
const ( FavoriteType_FAVORITE FavoriteType = 0 // 点赞 FavoriteType_UNLIKE FavoriteType = 1 // 点踩 )
func (FavoriteType) Descriptor ¶
func (FavoriteType) Descriptor() protoreflect.EnumDescriptor
func (FavoriteType) Enum ¶
func (x FavoriteType) Enum() *FavoriteType
func (FavoriteType) EnumDescriptor
deprecated
func (FavoriteType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FavoriteType.Descriptor instead.
func (FavoriteType) Number ¶
func (x FavoriteType) Number() protoreflect.EnumNumber
func (FavoriteType) String ¶
func (x FavoriteType) String() string
func (FavoriteType) Type ¶
func (FavoriteType) Type() protoreflect.EnumType
type FeedShortVideoRequest ¶
type FeedShortVideoRequest struct { // @gotags: json:"latest_time,omitempty,string" LatestTime int64 `protobuf:"varint,1,opt,name=latest_time,json=latestTime,proto3" json:"latest_time,omitempty"` // 可选参数,限制返回视频的最新投稿时间戳,精确到秒,不填表示当前时间 // @gotags: json:"user_id,omitempty,string" UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // @gotags: json:"feed_num,omitempty,string" 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"` // @gotags: json:"next_time,omitempty,string" NextTime int64 `protobuf:"varint,3,opt,name=next_time,json=nextTime,proto3" json:"next_time,omitempty"` // 本次返回的视频中,发布最早的时间,作为下次请求时的latest_time // 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) GetNextTime ¶
func (x *FeedShortVideoResponse) GetNextTime() int64
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 FileServiceClient ¶
type FileServiceClient interface { PreSignUploadingPublicFile(ctx context.Context, in *PreSignUploadPublicFileRequest, opts ...grpc.CallOption) (*PreSignUploadPublicFileResponse, error) ReportPublicFileUploaded(ctx context.Context, in *ReportPublicFileUploadedRequest, opts ...grpc.CallOption) (*ReportPublicFileUploadedResponse, error) }
FileServiceClient is the client API for FileService 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 NewFileServiceClient ¶
func NewFileServiceClient(cc grpc.ClientConnInterface) FileServiceClient
type FileServiceHTTPClient ¶
type FileServiceHTTPClient interface { PreSignUploadingPublicFile(ctx context.Context, req *PreSignUploadPublicFileRequest, opts ...http.CallOption) (rsp *PreSignUploadPublicFileResponse, err error) ReportPublicFileUploaded(ctx context.Context, req *ReportPublicFileUploadedRequest, opts ...http.CallOption) (rsp *ReportPublicFileUploadedResponse, err error) }
func NewFileServiceHTTPClient ¶
func NewFileServiceHTTPClient(client *http.Client) FileServiceHTTPClient
type FileServiceHTTPClientImpl ¶
type FileServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*FileServiceHTTPClientImpl) PreSignUploadingPublicFile ¶
func (c *FileServiceHTTPClientImpl) PreSignUploadingPublicFile(ctx context.Context, in *PreSignUploadPublicFileRequest, opts ...http.CallOption) (*PreSignUploadPublicFileResponse, error)
func (*FileServiceHTTPClientImpl) ReportPublicFileUploaded ¶
func (c *FileServiceHTTPClientImpl) ReportPublicFileUploaded(ctx context.Context, in *ReportPublicFileUploadedRequest, opts ...http.CallOption) (*ReportPublicFileUploadedResponse, error)
type FileServiceHTTPServer ¶
type FileServiceHTTPServer interface { PreSignUploadingPublicFile(context.Context, *PreSignUploadPublicFileRequest) (*PreSignUploadPublicFileResponse, error) ReportPublicFileUploaded(context.Context, *ReportPublicFileUploadedRequest) (*ReportPublicFileUploadedResponse, error) }
type FileServiceServer ¶
type FileServiceServer interface { PreSignUploadingPublicFile(context.Context, *PreSignUploadPublicFileRequest) (*PreSignUploadPublicFileResponse, error) ReportPublicFileUploaded(context.Context, *ReportPublicFileUploadedRequest) (*ReportPublicFileUploadedResponse, error) // contains filtered or unexported methods }
FileServiceServer is the server API for FileService service. All implementations must embed UnimplementedFileServiceServer for forward compatibility.
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) }
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 FollowServiceHTTPClient ¶
type FollowServiceHTTPClient interface { AddFollow(ctx context.Context, req *AddFollowRequest, opts ...http.CallOption) (rsp *AddFollowResponse, err error) ListFollowing(ctx context.Context, req *ListFollowingRequest, opts ...http.CallOption) (rsp *ListFollowingResponse, err error) RemoveFollow(ctx context.Context, req *RemoveFollowRequest, opts ...http.CallOption) (rsp *RemoveFollowResponse, err error) }
func NewFollowServiceHTTPClient ¶
func NewFollowServiceHTTPClient(client *http.Client) FollowServiceHTTPClient
type FollowServiceHTTPClientImpl ¶
type FollowServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*FollowServiceHTTPClientImpl) AddFollow ¶
func (c *FollowServiceHTTPClientImpl) AddFollow(ctx context.Context, in *AddFollowRequest, opts ...http.CallOption) (*AddFollowResponse, error)
func (*FollowServiceHTTPClientImpl) ListFollowing ¶
func (c *FollowServiceHTTPClientImpl) ListFollowing(ctx context.Context, in *ListFollowingRequest, opts ...http.CallOption) (*ListFollowingResponse, error)
func (*FollowServiceHTTPClientImpl) RemoveFollow ¶
func (c *FollowServiceHTTPClientImpl) RemoveFollow(ctx context.Context, in *RemoveFollowRequest, opts ...http.CallOption) (*RemoveFollowResponse, error)
type FollowServiceHTTPServer ¶
type FollowServiceHTTPServer interface { AddFollow(context.Context, *AddFollowRequest) (*AddFollowResponse, error) ListFollowing(context.Context, *ListFollowingRequest) (*ListFollowingResponse, error) RemoveFollow(context.Context, *RemoveFollowRequest) (*RemoveFollowResponse, error) }
type FollowServiceServer ¶
type FollowServiceServer interface { AddFollow(context.Context, *AddFollowRequest) (*AddFollowResponse, error) RemoveFollow(context.Context, *RemoveFollowRequest) (*RemoveFollowResponse, error) ListFollowing(context.Context, *ListFollowingRequest) (*ListFollowingResponse, 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 FollowUser ¶
type FollowUser struct { // @gotags: json:"id,omitempty,string" 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"` // 用户头像 IsFollowing bool `protobuf:"varint,4,opt,name=is_following,json=isFollowing,proto3" json:"is_following,omitempty"` // 当前用户是否关注 // contains filtered or unexported fields }
func (*FollowUser) Descriptor
deprecated
func (*FollowUser) Descriptor() ([]byte, []int)
Deprecated: Use FollowUser.ProtoReflect.Descriptor instead.
func (*FollowUser) GetAvatar ¶
func (x *FollowUser) GetAvatar() string
func (*FollowUser) GetId ¶
func (x *FollowUser) GetId() int64
func (*FollowUser) GetIsFollowing ¶
func (x *FollowUser) GetIsFollowing() bool
func (*FollowUser) GetName ¶
func (x *FollowUser) GetName() string
func (*FollowUser) ProtoMessage ¶
func (*FollowUser) ProtoMessage()
func (*FollowUser) ProtoReflect ¶
func (x *FollowUser) ProtoReflect() protoreflect.Message
func (*FollowUser) Reset ¶
func (x *FollowUser) Reset()
func (*FollowUser) String ¶
func (x *FollowUser) String() string
type GetUserInfoRequest ¶
type GetUserInfoRequest struct { // @gotags: json:"user_id,omitempty,string" UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetUserInfoRequest) Descriptor
deprecated
func (*GetUserInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserInfoRequest.ProtoReflect.Descriptor instead.
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 { 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) 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 GetVerificationCodeRequest ¶
type GetVerificationCodeRequest 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"` // contains filtered or unexported fields }
func (*GetVerificationCodeRequest) Descriptor
deprecated
func (*GetVerificationCodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVerificationCodeRequest.ProtoReflect.Descriptor instead.
func (*GetVerificationCodeRequest) GetEmail ¶
func (x *GetVerificationCodeRequest) GetEmail() string
func (*GetVerificationCodeRequest) GetMobile ¶
func (x *GetVerificationCodeRequest) GetMobile() string
func (*GetVerificationCodeRequest) ProtoMessage ¶
func (*GetVerificationCodeRequest) ProtoMessage()
func (*GetVerificationCodeRequest) ProtoReflect ¶
func (x *GetVerificationCodeRequest) ProtoReflect() protoreflect.Message
func (*GetVerificationCodeRequest) Reset ¶
func (x *GetVerificationCodeRequest) Reset()
func (*GetVerificationCodeRequest) String ¶
func (x *GetVerificationCodeRequest) String() string
type GetVerificationCodeResponse ¶
type GetVerificationCodeResponse struct { // @gotags: json:"code_id,omitempty,string" CodeId int64 `protobuf:"varint,1,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"` // contains filtered or unexported fields }
func (*GetVerificationCodeResponse) Descriptor
deprecated
func (*GetVerificationCodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVerificationCodeResponse.ProtoReflect.Descriptor instead.
func (*GetVerificationCodeResponse) GetCodeId ¶
func (x *GetVerificationCodeResponse) GetCodeId() int64
func (*GetVerificationCodeResponse) ProtoMessage ¶
func (*GetVerificationCodeResponse) ProtoMessage()
func (*GetVerificationCodeResponse) ProtoReflect ¶
func (x *GetVerificationCodeResponse) ProtoReflect() protoreflect.Message
func (*GetVerificationCodeResponse) Reset ¶
func (x *GetVerificationCodeResponse) Reset()
func (*GetVerificationCodeResponse) String ¶
func (x *GetVerificationCodeResponse) String() string
type GetVideoByIdRequest ¶
type GetVideoByIdRequest struct { // @gotags: json:"video_id,omitempty,string" 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 { 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) 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 ListChildCommentRequest ¶
type ListChildCommentRequest struct { // @gotags: json:"commentId,omitempty,string" CommentId int64 `protobuf:"varint,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` // 评论id Pagination *PaginationRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListChildCommentRequest) Descriptor
deprecated
func (*ListChildCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChildCommentRequest.ProtoReflect.Descriptor instead.
func (*ListChildCommentRequest) GetCommentId ¶
func (x *ListChildCommentRequest) GetCommentId() int64
func (*ListChildCommentRequest) GetPagination ¶
func (x *ListChildCommentRequest) GetPagination() *PaginationRequest
func (*ListChildCommentRequest) ProtoMessage ¶
func (*ListChildCommentRequest) ProtoMessage()
func (*ListChildCommentRequest) ProtoReflect ¶
func (x *ListChildCommentRequest) ProtoReflect() protoreflect.Message
func (*ListChildCommentRequest) Reset ¶
func (x *ListChildCommentRequest) Reset()
func (*ListChildCommentRequest) String ¶
func (x *ListChildCommentRequest) String() string
type ListChildCommentResponse ¶
type ListChildCommentResponse struct { Comments []*Comment `protobuf:"bytes,1,rep,name=comments,proto3" json:"comments,omitempty"` Pagination *PaginationResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListChildCommentResponse) Descriptor
deprecated
func (*ListChildCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListChildCommentResponse.ProtoReflect.Descriptor instead.
func (*ListChildCommentResponse) GetComments ¶
func (x *ListChildCommentResponse) GetComments() []*Comment
func (*ListChildCommentResponse) GetPagination ¶
func (x *ListChildCommentResponse) GetPagination() *PaginationResponse
func (*ListChildCommentResponse) ProtoMessage ¶
func (*ListChildCommentResponse) ProtoMessage()
func (*ListChildCommentResponse) ProtoReflect ¶
func (x *ListChildCommentResponse) ProtoReflect() protoreflect.Message
func (*ListChildCommentResponse) Reset ¶
func (x *ListChildCommentResponse) Reset()
func (*ListChildCommentResponse) String ¶
func (x *ListChildCommentResponse) String() string
type ListCollectionRequest ¶
type ListCollectionRequest struct { Pagination *PaginationRequest `protobuf:"bytes,1,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) 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"` Pagination *PaginationResponse `protobuf:"bytes,2,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) 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 ListComment4VideoRequest ¶
type ListComment4VideoRequest struct { // @gotags: json:"videoId,omitempty,string" 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 { Comments []*Comment `protobuf:"bytes,1,rep,name=comments,proto3" json:"comments,omitempty"` Pagination *PaginationResponse `protobuf:"bytes,2,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) 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 ListFavoriteVideoRequest ¶
type ListFavoriteVideoRequest struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Size int32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*ListFavoriteVideoRequest) Descriptor
deprecated
func (*ListFavoriteVideoRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFavoriteVideoRequest.ProtoReflect.Descriptor instead.
func (*ListFavoriteVideoRequest) GetPage ¶
func (x *ListFavoriteVideoRequest) GetPage() int32
func (*ListFavoriteVideoRequest) GetSize ¶
func (x *ListFavoriteVideoRequest) GetSize() int32
func (*ListFavoriteVideoRequest) GetUserId ¶
func (x *ListFavoriteVideoRequest) GetUserId() int64
func (*ListFavoriteVideoRequest) ProtoMessage ¶
func (*ListFavoriteVideoRequest) ProtoMessage()
func (*ListFavoriteVideoRequest) ProtoReflect ¶
func (x *ListFavoriteVideoRequest) ProtoReflect() protoreflect.Message
func (*ListFavoriteVideoRequest) Reset ¶
func (x *ListFavoriteVideoRequest) Reset()
func (*ListFavoriteVideoRequest) String ¶
func (x *ListFavoriteVideoRequest) String() string
type ListFavoriteVideoResponse ¶
type ListFavoriteVideoResponse struct { Videos []*Video `protobuf:"bytes,1,rep,name=videos,proto3" json:"videos,omitempty"` Pagination *PaginationResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListFavoriteVideoResponse) Descriptor
deprecated
func (*ListFavoriteVideoResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFavoriteVideoResponse.ProtoReflect.Descriptor instead.
func (*ListFavoriteVideoResponse) GetPagination ¶
func (x *ListFavoriteVideoResponse) GetPagination() *PaginationResponse
func (*ListFavoriteVideoResponse) GetVideos ¶
func (x *ListFavoriteVideoResponse) GetVideos() []*Video
func (*ListFavoriteVideoResponse) ProtoMessage ¶
func (*ListFavoriteVideoResponse) ProtoMessage()
func (*ListFavoriteVideoResponse) ProtoReflect ¶
func (x *ListFavoriteVideoResponse) ProtoReflect() protoreflect.Message
func (*ListFavoriteVideoResponse) Reset ¶
func (x *ListFavoriteVideoResponse) Reset()
func (*ListFavoriteVideoResponse) String ¶
func (x *ListFavoriteVideoResponse) String() string
type ListFollowingRequest ¶
type ListFollowingRequest struct { // @gotags: json:"userId,omitempty,string" UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id Type FollowType `protobuf:"varint,2,opt,name=type,proto3,enum=gateway.v1.FollowType" json:"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) GetPagination ¶
func (x *ListFollowingRequest) GetPagination() *PaginationRequest
func (*ListFollowingRequest) GetType ¶
func (x *ListFollowingRequest) GetType() FollowType
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 { Users []*FollowUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` Pagination *PaginationResponse `protobuf:"bytes,2,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) GetPagination ¶
func (x *ListFollowingResponse) GetPagination() *PaginationResponse
func (*ListFollowingResponse) GetUsers ¶
func (x *ListFollowingResponse) GetUsers() []*FollowUser
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 { // @gotags: json:"user_id,omitempty,string" 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 (*ListPublishedVideoRequest) Descriptor
deprecated
func (*ListPublishedVideoRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPublishedVideoRequest.ProtoReflect.Descriptor instead.
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 { VideoList []*Video `protobuf:"bytes,2,rep,name=video_list,json=videoList,proto3" json:"video_list,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) GetPagination ¶
func (x *ListPublishedVideoResponse) GetPagination() *PaginationResponse
func (*ListPublishedVideoResponse) GetVideoList ¶
func (x *ListPublishedVideoResponse) GetVideoList() []*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 ListVideo4CollectionRequest ¶
type ListVideo4CollectionRequest struct { // @gotags: json:"collectionId,omitempty,string" CollectionId int64 `protobuf:"varint,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` // 收藏夹id Pagination *PaginationRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListVideo4CollectionRequest) Descriptor
deprecated
func (*ListVideo4CollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVideo4CollectionRequest.ProtoReflect.Descriptor instead.
func (*ListVideo4CollectionRequest) GetCollectionId ¶
func (x *ListVideo4CollectionRequest) GetCollectionId() int64
func (*ListVideo4CollectionRequest) GetPagination ¶
func (x *ListVideo4CollectionRequest) GetPagination() *PaginationRequest
func (*ListVideo4CollectionRequest) ProtoMessage ¶
func (*ListVideo4CollectionRequest) ProtoMessage()
func (*ListVideo4CollectionRequest) ProtoReflect ¶
func (x *ListVideo4CollectionRequest) ProtoReflect() protoreflect.Message
func (*ListVideo4CollectionRequest) Reset ¶
func (x *ListVideo4CollectionRequest) Reset()
func (*ListVideo4CollectionRequest) String ¶
func (x *ListVideo4CollectionRequest) String() string
type ListVideo4CollectionResponse ¶
type ListVideo4CollectionResponse struct { Videos []*Video `protobuf:"bytes,1,rep,name=videos,proto3" json:"videos,omitempty"` Pagination *PaginationResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListVideo4CollectionResponse) Descriptor
deprecated
func (*ListVideo4CollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVideo4CollectionResponse.ProtoReflect.Descriptor instead.
func (*ListVideo4CollectionResponse) GetPagination ¶
func (x *ListVideo4CollectionResponse) GetPagination() *PaginationResponse
func (*ListVideo4CollectionResponse) GetVideos ¶
func (x *ListVideo4CollectionResponse) GetVideos() []*Video
func (*ListVideo4CollectionResponse) ProtoMessage ¶
func (*ListVideo4CollectionResponse) ProtoMessage()
func (*ListVideo4CollectionResponse) ProtoReflect ¶
func (x *ListVideo4CollectionResponse) ProtoReflect() protoreflect.Message
func (*ListVideo4CollectionResponse) Reset ¶
func (x *ListVideo4CollectionResponse) Reset()
func (*ListVideo4CollectionResponse) String ¶
func (x *ListVideo4CollectionResponse) String() string
type LoginRequest ¶
type LoginRequest 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"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetEmail ¶
func (x *LoginRequest) GetEmail() string
func (*LoginRequest) GetMobile ¶
func (x *LoginRequest) GetMobile() string
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetToken ¶
func (x *LoginResponse) GetToken() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) 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 PreSign4UploadRequest ¶
type PreSign4UploadRequest struct { // md5 hash Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // 文件类型,默认mp4 FileType string `protobuf:"bytes,2,opt,name=file_type,json=fileType,proto3" json:"file_type,omitempty"` // 文件大小,单位byte // @gotags: json:"size,omitempty,string" Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // 文件名 Filename string `protobuf:"bytes,4,opt,name=filename,proto3" json:"filename,omitempty"` // contains filtered or unexported fields }
通用小文件单次上传请求消息类型
func (*PreSign4UploadRequest) Descriptor
deprecated
func (*PreSign4UploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use PreSign4UploadRequest.ProtoReflect.Descriptor instead.
func (*PreSign4UploadRequest) GetFileType ¶
func (x *PreSign4UploadRequest) GetFileType() string
func (*PreSign4UploadRequest) GetFilename ¶
func (x *PreSign4UploadRequest) GetFilename() string
func (*PreSign4UploadRequest) GetHash ¶
func (x *PreSign4UploadRequest) GetHash() string
func (*PreSign4UploadRequest) GetSize ¶
func (x *PreSign4UploadRequest) GetSize() int64
func (*PreSign4UploadRequest) ProtoMessage ¶
func (*PreSign4UploadRequest) ProtoMessage()
func (*PreSign4UploadRequest) ProtoReflect ¶
func (x *PreSign4UploadRequest) ProtoReflect() protoreflect.Message
func (*PreSign4UploadRequest) Reset ¶
func (x *PreSign4UploadRequest) Reset()
func (*PreSign4UploadRequest) String ¶
func (x *PreSign4UploadRequest) String() string
type PreSign4UploadResponse ¶
type PreSign4UploadResponse struct { // minio上传地址 Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // 文件id // @gotags: json:"file_id,omitempty,string" FileId int64 `protobuf:"varint,2,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // contains filtered or unexported fields }
通用小文件单次上传响应消息类型
func (*PreSign4UploadResponse) Descriptor
deprecated
func (*PreSign4UploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use PreSign4UploadResponse.ProtoReflect.Descriptor instead.
func (*PreSign4UploadResponse) GetFileId ¶
func (x *PreSign4UploadResponse) GetFileId() int64
func (*PreSign4UploadResponse) GetUrl ¶
func (x *PreSign4UploadResponse) GetUrl() string
func (*PreSign4UploadResponse) ProtoMessage ¶
func (*PreSign4UploadResponse) ProtoMessage()
func (*PreSign4UploadResponse) ProtoReflect ¶
func (x *PreSign4UploadResponse) ProtoReflect() protoreflect.Message
func (*PreSign4UploadResponse) Reset ¶
func (x *PreSign4UploadResponse) Reset()
func (*PreSign4UploadResponse) String ¶
func (x *PreSign4UploadResponse) String() string
type PreSign4UploadVideoRequest ¶
type PreSign4UploadVideoRequest struct { // md5 hash Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // 文件类型,默认mp4 FileType string `protobuf:"bytes,2,opt,name=file_type,json=fileType,proto3" json:"file_type,omitempty"` // 文件大小,单位byte // @gotags: json:"size,omitempty,string" Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // 文件名 Filename string `protobuf:"bytes,4,opt,name=filename,proto3" json:"filename,omitempty"` // contains filtered or unexported fields }
预注册上传视频请求消息类型
func (*PreSign4UploadVideoRequest) Descriptor
deprecated
func (*PreSign4UploadVideoRequest) Descriptor() ([]byte, []int)
Deprecated: Use PreSign4UploadVideoRequest.ProtoReflect.Descriptor instead.
func (*PreSign4UploadVideoRequest) GetFileType ¶
func (x *PreSign4UploadVideoRequest) GetFileType() string
func (*PreSign4UploadVideoRequest) GetFilename ¶
func (x *PreSign4UploadVideoRequest) GetFilename() string
func (*PreSign4UploadVideoRequest) GetHash ¶
func (x *PreSign4UploadVideoRequest) GetHash() string
func (*PreSign4UploadVideoRequest) GetSize ¶
func (x *PreSign4UploadVideoRequest) GetSize() int64
func (*PreSign4UploadVideoRequest) ProtoMessage ¶
func (*PreSign4UploadVideoRequest) ProtoMessage()
func (*PreSign4UploadVideoRequest) ProtoReflect ¶
func (x *PreSign4UploadVideoRequest) ProtoReflect() protoreflect.Message
func (*PreSign4UploadVideoRequest) Reset ¶
func (x *PreSign4UploadVideoRequest) Reset()
func (*PreSign4UploadVideoRequest) String ¶
func (x *PreSign4UploadVideoRequest) String() string
type PreSign4UploadVideoResponse ¶
type PreSign4UploadVideoResponse struct { // minio上传地址 Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // 文件id // @gotags: json:"file_id,omitempty,string" FileId int64 `protobuf:"varint,2,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // contains filtered or unexported fields }
预注册上传视频响应消息类型
func (*PreSign4UploadVideoResponse) Descriptor
deprecated
func (*PreSign4UploadVideoResponse) Descriptor() ([]byte, []int)
Deprecated: Use PreSign4UploadVideoResponse.ProtoReflect.Descriptor instead.
func (*PreSign4UploadVideoResponse) GetFileId ¶
func (x *PreSign4UploadVideoResponse) GetFileId() int64
func (*PreSign4UploadVideoResponse) GetUrl ¶
func (x *PreSign4UploadVideoResponse) GetUrl() string
func (*PreSign4UploadVideoResponse) ProtoMessage ¶
func (*PreSign4UploadVideoResponse) ProtoMessage()
func (*PreSign4UploadVideoResponse) ProtoReflect ¶
func (x *PreSign4UploadVideoResponse) ProtoReflect() protoreflect.Message
func (*PreSign4UploadVideoResponse) Reset ¶
func (x *PreSign4UploadVideoResponse) Reset()
func (*PreSign4UploadVideoResponse) String ¶
func (x *PreSign4UploadVideoResponse) String() string
type PreSignUploadPublicFileRequest ¶
type PreSignUploadPublicFileRequest struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` FileType string `protobuf:"bytes,2,opt,name=file_type,json=fileType,proto3" json:"file_type,omitempty"` // gotags: json`size,omitempty,string` Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*PreSignUploadPublicFileRequest) Descriptor
deprecated
func (*PreSignUploadPublicFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use PreSignUploadPublicFileRequest.ProtoReflect.Descriptor instead.
func (*PreSignUploadPublicFileRequest) GetFileType ¶
func (x *PreSignUploadPublicFileRequest) GetFileType() string
func (*PreSignUploadPublicFileRequest) GetHash ¶
func (x *PreSignUploadPublicFileRequest) GetHash() string
func (*PreSignUploadPublicFileRequest) GetSize ¶
func (x *PreSignUploadPublicFileRequest) GetSize() int64
func (*PreSignUploadPublicFileRequest) ProtoMessage ¶
func (*PreSignUploadPublicFileRequest) ProtoMessage()
func (*PreSignUploadPublicFileRequest) ProtoReflect ¶
func (x *PreSignUploadPublicFileRequest) ProtoReflect() protoreflect.Message
func (*PreSignUploadPublicFileRequest) Reset ¶
func (x *PreSignUploadPublicFileRequest) Reset()
func (*PreSignUploadPublicFileRequest) String ¶
func (x *PreSignUploadPublicFileRequest) String() string
type PreSignUploadPublicFileResponse ¶
type PreSignUploadPublicFileResponse struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // @gotags: json:"file_id,omitempty,string" FileId int64 `protobuf:"varint,2,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // contains filtered or unexported fields }
func (*PreSignUploadPublicFileResponse) Descriptor
deprecated
func (*PreSignUploadPublicFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use PreSignUploadPublicFileResponse.ProtoReflect.Descriptor instead.
func (*PreSignUploadPublicFileResponse) GetFileId ¶
func (x *PreSignUploadPublicFileResponse) GetFileId() int64
func (*PreSignUploadPublicFileResponse) GetUrl ¶
func (x *PreSignUploadPublicFileResponse) GetUrl() string
func (*PreSignUploadPublicFileResponse) ProtoMessage ¶
func (*PreSignUploadPublicFileResponse) ProtoMessage()
func (*PreSignUploadPublicFileResponse) ProtoReflect ¶
func (x *PreSignUploadPublicFileResponse) ProtoReflect() protoreflect.Message
func (*PreSignUploadPublicFileResponse) Reset ¶
func (x *PreSignUploadPublicFileResponse) Reset()
func (*PreSignUploadPublicFileResponse) String ¶
func (x *PreSignUploadPublicFileResponse) String() string
type RegisterRequest ¶
type RegisterRequest 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"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // @gotags: json:"code_id,omitempty,string" CodeId int64 `protobuf:"varint,4,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"` Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*RegisterRequest) Descriptor
deprecated
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetCode ¶
func (x *RegisterRequest) GetCode() string
func (*RegisterRequest) GetCodeId ¶
func (x *RegisterRequest) GetCodeId() int64
func (*RegisterRequest) GetEmail ¶
func (x *RegisterRequest) GetEmail() string
func (*RegisterRequest) GetMobile ¶
func (x *RegisterRequest) GetMobile() string
func (*RegisterRequest) GetPassword ¶
func (x *RegisterRequest) GetPassword() string
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶
func (x *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (x *RegisterRequest) String() string
type RegisterResponse ¶
type RegisterResponse struct { // @gotags: json:"user_id,omitempty,string" UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*RegisterResponse) Descriptor
deprecated
func (*RegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
func (*RegisterResponse) GetUserId ¶
func (x *RegisterResponse) GetUserId() int64
func (*RegisterResponse) ProtoMessage ¶
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) ProtoReflect ¶
func (x *RegisterResponse) ProtoReflect() protoreflect.Message
func (*RegisterResponse) Reset ¶
func (x *RegisterResponse) Reset()
func (*RegisterResponse) String ¶
func (x *RegisterResponse) String() string
type RemoveCollectionRequest ¶
type RemoveCollectionRequest struct { // @gotags: json:"id,omitempty,string" Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 收藏夹id // 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 {
// contains filtered or unexported fields
}
func (*RemoveCollectionResponse) Descriptor
deprecated
func (*RemoveCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveCollectionResponse.ProtoReflect.Descriptor instead.
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 { // @gotags: json:"id,omitempty,string" Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"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) GetId ¶
func (x *RemoveCommentRequest) GetId() 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 {
// contains filtered or unexported fields
}
func (*RemoveCommentResponse) Descriptor
deprecated
func (*RemoveCommentResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveCommentResponse.ProtoReflect.Descriptor instead.
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 RemoveFavoriteRequest ¶
type RemoveFavoriteRequest struct { Target FavoriteTarget `protobuf:"varint,1,opt,name=target,proto3,enum=gateway.v1.FavoriteTarget" json:"target,omitempty"` Type FavoriteType `protobuf:"varint,2,opt,name=type,proto3,enum=gateway.v1.FavoriteType" json:"type,omitempty"` // @gotags: json:"id,omitempty,string" Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RemoveFavoriteRequest) Descriptor
deprecated
func (*RemoveFavoriteRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveFavoriteRequest.ProtoReflect.Descriptor instead.
func (*RemoveFavoriteRequest) GetId ¶
func (x *RemoveFavoriteRequest) GetId() int64
func (*RemoveFavoriteRequest) GetTarget ¶
func (x *RemoveFavoriteRequest) GetTarget() FavoriteTarget
func (*RemoveFavoriteRequest) GetType ¶
func (x *RemoveFavoriteRequest) GetType() FavoriteType
func (*RemoveFavoriteRequest) ProtoMessage ¶
func (*RemoveFavoriteRequest) ProtoMessage()
func (*RemoveFavoriteRequest) ProtoReflect ¶
func (x *RemoveFavoriteRequest) ProtoReflect() protoreflect.Message
func (*RemoveFavoriteRequest) Reset ¶
func (x *RemoveFavoriteRequest) Reset()
func (*RemoveFavoriteRequest) String ¶
func (x *RemoveFavoriteRequest) String() string
type RemoveFavoriteResponse ¶
type RemoveFavoriteResponse struct {
// contains filtered or unexported fields
}
func (*RemoveFavoriteResponse) Descriptor
deprecated
func (*RemoveFavoriteResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveFavoriteResponse.ProtoReflect.Descriptor instead.
func (*RemoveFavoriteResponse) ProtoMessage ¶
func (*RemoveFavoriteResponse) ProtoMessage()
func (*RemoveFavoriteResponse) ProtoReflect ¶
func (x *RemoveFavoriteResponse) ProtoReflect() protoreflect.Message
func (*RemoveFavoriteResponse) Reset ¶
func (x *RemoveFavoriteResponse) Reset()
func (*RemoveFavoriteResponse) String ¶
func (x *RemoveFavoriteResponse) String() string
type RemoveFollowRequest ¶
type RemoveFollowRequest struct { // @gotags: json:"userId,omitempty,string" UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id // contains filtered or unexported fields }
func (*RemoveFollowRequest) Descriptor
deprecated
func (*RemoveFollowRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveFollowRequest.ProtoReflect.Descriptor instead.
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 {
// contains filtered or unexported fields
}
func (*RemoveFollowResponse) Descriptor
deprecated
func (*RemoveFollowResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveFollowResponse.ProtoReflect.Descriptor instead.
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 { // @gotags: json:"collectionId,omitempty,string" CollectionId int64 `protobuf:"varint,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` // 收藏夹id // @gotags: json:"videoId,omitempty,string" VideoId int64 `protobuf:"varint,2,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` // 视频id // 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) 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 {
// contains filtered or unexported fields
}
func (*RemoveVideoFromCollectionResponse) Descriptor
deprecated
func (*RemoveVideoFromCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveVideoFromCollectionResponse.ProtoReflect.Descriptor instead.
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 ReportFinishUploadRequest ¶
type ReportFinishUploadRequest struct { // 文件id // @gotags: json:"file_id,omitempty,string" FileId int64 `protobuf:"varint,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // contains filtered or unexported fields }
通用确认上传完成请求消息类型
func (*ReportFinishUploadRequest) Descriptor
deprecated
func (*ReportFinishUploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportFinishUploadRequest.ProtoReflect.Descriptor instead.
func (*ReportFinishUploadRequest) GetFileId ¶
func (x *ReportFinishUploadRequest) GetFileId() int64
func (*ReportFinishUploadRequest) ProtoMessage ¶
func (*ReportFinishUploadRequest) ProtoMessage()
func (*ReportFinishUploadRequest) ProtoReflect ¶
func (x *ReportFinishUploadRequest) ProtoReflect() protoreflect.Message
func (*ReportFinishUploadRequest) Reset ¶
func (x *ReportFinishUploadRequest) Reset()
func (*ReportFinishUploadRequest) String ¶
func (x *ReportFinishUploadRequest) String() string
type ReportFinishUploadResponse ¶
type ReportFinishUploadResponse struct { // url Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
通用确认上传完成响应消息类型
func (*ReportFinishUploadResponse) Descriptor
deprecated
func (*ReportFinishUploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportFinishUploadResponse.ProtoReflect.Descriptor instead.
func (*ReportFinishUploadResponse) GetUrl ¶
func (x *ReportFinishUploadResponse) GetUrl() string
func (*ReportFinishUploadResponse) ProtoMessage ¶
func (*ReportFinishUploadResponse) ProtoMessage()
func (*ReportFinishUploadResponse) ProtoReflect ¶
func (x *ReportFinishUploadResponse) ProtoReflect() protoreflect.Message
func (*ReportFinishUploadResponse) Reset ¶
func (x *ReportFinishUploadResponse) Reset()
func (*ReportFinishUploadResponse) String ¶
func (x *ReportFinishUploadResponse) String() string
type ReportPublicFileUploadedRequest ¶
type ReportPublicFileUploadedRequest struct { FileId int64 `protobuf:"varint,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // contains filtered or unexported fields }
func (*ReportPublicFileUploadedRequest) Descriptor
deprecated
func (*ReportPublicFileUploadedRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportPublicFileUploadedRequest.ProtoReflect.Descriptor instead.
func (*ReportPublicFileUploadedRequest) GetFileId ¶
func (x *ReportPublicFileUploadedRequest) GetFileId() int64
func (*ReportPublicFileUploadedRequest) ProtoMessage ¶
func (*ReportPublicFileUploadedRequest) ProtoMessage()
func (*ReportPublicFileUploadedRequest) ProtoReflect ¶
func (x *ReportPublicFileUploadedRequest) ProtoReflect() protoreflect.Message
func (*ReportPublicFileUploadedRequest) Reset ¶
func (x *ReportPublicFileUploadedRequest) Reset()
func (*ReportPublicFileUploadedRequest) String ¶
func (x *ReportPublicFileUploadedRequest) String() string
type ReportPublicFileUploadedResponse ¶
type ReportPublicFileUploadedResponse struct { ObjectName string `protobuf:"bytes,1,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // contains filtered or unexported fields }
func (*ReportPublicFileUploadedResponse) Descriptor
deprecated
func (*ReportPublicFileUploadedResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportPublicFileUploadedResponse.ProtoReflect.Descriptor instead.
func (*ReportPublicFileUploadedResponse) GetObjectName ¶
func (x *ReportPublicFileUploadedResponse) GetObjectName() string
func (*ReportPublicFileUploadedResponse) ProtoMessage ¶
func (*ReportPublicFileUploadedResponse) ProtoMessage()
func (*ReportPublicFileUploadedResponse) ProtoReflect ¶
func (x *ReportPublicFileUploadedResponse) ProtoReflect() protoreflect.Message
func (*ReportPublicFileUploadedResponse) Reset ¶
func (x *ReportPublicFileUploadedResponse) Reset()
func (*ReportPublicFileUploadedResponse) String ¶
func (x *ReportPublicFileUploadedResponse) String() string
type ReportVideoFinishUploadRequest ¶
type ReportVideoFinishUploadRequest struct { // 文件id // @gotags: json:"file_id,omitempty,string" FileId int64 `protobuf:"varint,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // 视频标题 Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` // 视频封面地址 CoverUrl string `protobuf:"bytes,4,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"` // 视频描述 Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // 视频地址 VideoUrl string `protobuf:"bytes,6,opt,name=video_url,json=videoUrl,proto3" json:"video_url,omitempty"` // contains filtered or unexported fields }
确认视频上传完成请求消息类型
func (*ReportVideoFinishUploadRequest) Descriptor
deprecated
func (*ReportVideoFinishUploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportVideoFinishUploadRequest.ProtoReflect.Descriptor instead.
func (*ReportVideoFinishUploadRequest) GetCoverUrl ¶
func (x *ReportVideoFinishUploadRequest) GetCoverUrl() string
func (*ReportVideoFinishUploadRequest) GetDescription ¶
func (x *ReportVideoFinishUploadRequest) GetDescription() string
func (*ReportVideoFinishUploadRequest) GetFileId ¶
func (x *ReportVideoFinishUploadRequest) GetFileId() int64
func (*ReportVideoFinishUploadRequest) GetTitle ¶
func (x *ReportVideoFinishUploadRequest) GetTitle() string
func (*ReportVideoFinishUploadRequest) GetVideoUrl ¶
func (x *ReportVideoFinishUploadRequest) GetVideoUrl() string
func (*ReportVideoFinishUploadRequest) ProtoMessage ¶
func (*ReportVideoFinishUploadRequest) ProtoMessage()
func (*ReportVideoFinishUploadRequest) ProtoReflect ¶
func (x *ReportVideoFinishUploadRequest) ProtoReflect() protoreflect.Message
func (*ReportVideoFinishUploadRequest) Reset ¶
func (x *ReportVideoFinishUploadRequest) Reset()
func (*ReportVideoFinishUploadRequest) String ¶
func (x *ReportVideoFinishUploadRequest) String() string
type ReportVideoFinishUploadResponse ¶
type ReportVideoFinishUploadResponse struct { // 视频id // @gotags: json:"video_id,omitempty,string" VideoId int64 `protobuf:"varint,1,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty"` // contains filtered or unexported fields }
确认视频上传完成响应消息类型
func (*ReportVideoFinishUploadResponse) Descriptor
deprecated
func (*ReportVideoFinishUploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportVideoFinishUploadResponse.ProtoReflect.Descriptor instead.
func (*ReportVideoFinishUploadResponse) GetVideoId ¶
func (x *ReportVideoFinishUploadResponse) GetVideoId() int64
func (*ReportVideoFinishUploadResponse) ProtoMessage ¶
func (*ReportVideoFinishUploadResponse) ProtoMessage()
func (*ReportVideoFinishUploadResponse) ProtoReflect ¶
func (x *ReportVideoFinishUploadResponse) ProtoReflect() protoreflect.Message
func (*ReportVideoFinishUploadResponse) Reset ¶
func (x *ReportVideoFinishUploadResponse) Reset()
func (*ReportVideoFinishUploadResponse) String ¶
func (x *ReportVideoFinishUploadResponse) 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=gateway.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 ShortVideoCoreVideoServiceClient ¶
type ShortVideoCoreVideoServiceClient interface { // 预注册上传视频 PreSign4UploadVideo(ctx context.Context, in *PreSign4UploadVideoRequest, opts ...grpc.CallOption) (*PreSign4UploadVideoResponse, error) // 预注册上传封面 PreSign4UploadCover(ctx context.Context, in *PreSign4UploadRequest, opts ...grpc.CallOption) (*PreSign4UploadResponse, error) // 通用确认上传完成 ReportFinishUpload(ctx context.Context, in *ReportFinishUploadRequest, opts ...grpc.CallOption) (*ReportFinishUploadResponse, error) // 确认视频上传完成 ReportVideoFinishUpload(ctx context.Context, in *ReportVideoFinishUploadRequest, opts ...grpc.CallOption) (*ReportVideoFinishUploadResponse, error) // 刷视频 FeedShortVideo(ctx context.Context, in *FeedShortVideoRequest, opts ...grpc.CallOption) (*FeedShortVideoResponse, error) // 获取视频信息 GetVideoById(ctx context.Context, in *GetVideoByIdRequest, opts ...grpc.CallOption) (*GetVideoByIdResponse, error) // 获取当前用户的发布视频列表 ListPublishedVideo(ctx context.Context, in *ListPublishedVideoRequest, opts ...grpc.CallOption) (*ListPublishedVideoResponse, error) }
ShortVideoCoreVideoServiceClient is the client API for ShortVideoCoreVideoService 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 NewShortVideoCoreVideoServiceClient ¶
func NewShortVideoCoreVideoServiceClient(cc grpc.ClientConnInterface) ShortVideoCoreVideoServiceClient
type ShortVideoCoreVideoServiceHTTPClient ¶
type ShortVideoCoreVideoServiceHTTPClient 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) PreSign4UploadCover(ctx context.Context, req *PreSign4UploadRequest, opts ...http.CallOption) (rsp *PreSign4UploadResponse, err error) PreSign4UploadVideo(ctx context.Context, req *PreSign4UploadVideoRequest, opts ...http.CallOption) (rsp *PreSign4UploadVideoResponse, err error) ReportFinishUpload(ctx context.Context, req *ReportFinishUploadRequest, opts ...http.CallOption) (rsp *ReportFinishUploadResponse, err error) ReportVideoFinishUpload(ctx context.Context, req *ReportVideoFinishUploadRequest, opts ...http.CallOption) (rsp *ReportVideoFinishUploadResponse, err error) }
func NewShortVideoCoreVideoServiceHTTPClient ¶
func NewShortVideoCoreVideoServiceHTTPClient(client *http.Client) ShortVideoCoreVideoServiceHTTPClient
type ShortVideoCoreVideoServiceHTTPClientImpl ¶
type ShortVideoCoreVideoServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ShortVideoCoreVideoServiceHTTPClientImpl) FeedShortVideo ¶
func (c *ShortVideoCoreVideoServiceHTTPClientImpl) FeedShortVideo(ctx context.Context, in *FeedShortVideoRequest, opts ...http.CallOption) (*FeedShortVideoResponse, error)
func (*ShortVideoCoreVideoServiceHTTPClientImpl) GetVideoById ¶
func (c *ShortVideoCoreVideoServiceHTTPClientImpl) GetVideoById(ctx context.Context, in *GetVideoByIdRequest, opts ...http.CallOption) (*GetVideoByIdResponse, error)
func (*ShortVideoCoreVideoServiceHTTPClientImpl) ListPublishedVideo ¶
func (c *ShortVideoCoreVideoServiceHTTPClientImpl) ListPublishedVideo(ctx context.Context, in *ListPublishedVideoRequest, opts ...http.CallOption) (*ListPublishedVideoResponse, error)
func (*ShortVideoCoreVideoServiceHTTPClientImpl) PreSign4UploadCover ¶
func (c *ShortVideoCoreVideoServiceHTTPClientImpl) PreSign4UploadCover(ctx context.Context, in *PreSign4UploadRequest, opts ...http.CallOption) (*PreSign4UploadResponse, error)
func (*ShortVideoCoreVideoServiceHTTPClientImpl) PreSign4UploadVideo ¶
func (c *ShortVideoCoreVideoServiceHTTPClientImpl) PreSign4UploadVideo(ctx context.Context, in *PreSign4UploadVideoRequest, opts ...http.CallOption) (*PreSign4UploadVideoResponse, error)
func (*ShortVideoCoreVideoServiceHTTPClientImpl) ReportFinishUpload ¶
func (c *ShortVideoCoreVideoServiceHTTPClientImpl) ReportFinishUpload(ctx context.Context, in *ReportFinishUploadRequest, opts ...http.CallOption) (*ReportFinishUploadResponse, error)
func (*ShortVideoCoreVideoServiceHTTPClientImpl) ReportVideoFinishUpload ¶
func (c *ShortVideoCoreVideoServiceHTTPClientImpl) ReportVideoFinishUpload(ctx context.Context, in *ReportVideoFinishUploadRequest, opts ...http.CallOption) (*ReportVideoFinishUploadResponse, error)
type ShortVideoCoreVideoServiceHTTPServer ¶
type ShortVideoCoreVideoServiceHTTPServer interface { // FeedShortVideo 刷视频 FeedShortVideo(context.Context, *FeedShortVideoRequest) (*FeedShortVideoResponse, error) // GetVideoById 获取视频信息 GetVideoById(context.Context, *GetVideoByIdRequest) (*GetVideoByIdResponse, error) // ListPublishedVideo 获取当前用户的发布视频列表 ListPublishedVideo(context.Context, *ListPublishedVideoRequest) (*ListPublishedVideoResponse, error) // PreSign4UploadCover 预注册上传封面 PreSign4UploadCover(context.Context, *PreSign4UploadRequest) (*PreSign4UploadResponse, error) // PreSign4UploadVideo 预注册上传视频 PreSign4UploadVideo(context.Context, *PreSign4UploadVideoRequest) (*PreSign4UploadVideoResponse, error) // ReportFinishUpload 通用确认上传完成 ReportFinishUpload(context.Context, *ReportFinishUploadRequest) (*ReportFinishUploadResponse, error) // ReportVideoFinishUpload 确认视频上传完成 ReportVideoFinishUpload(context.Context, *ReportVideoFinishUploadRequest) (*ReportVideoFinishUploadResponse, error) }
type ShortVideoCoreVideoServiceServer ¶
type ShortVideoCoreVideoServiceServer interface { // 预注册上传视频 PreSign4UploadVideo(context.Context, *PreSign4UploadVideoRequest) (*PreSign4UploadVideoResponse, error) // 预注册上传封面 PreSign4UploadCover(context.Context, *PreSign4UploadRequest) (*PreSign4UploadResponse, error) // 通用确认上传完成 ReportFinishUpload(context.Context, *ReportFinishUploadRequest) (*ReportFinishUploadResponse, error) // 确认视频上传完成 ReportVideoFinishUpload(context.Context, *ReportVideoFinishUploadRequest) (*ReportVideoFinishUploadResponse, error) // 刷视频 FeedShortVideo(context.Context, *FeedShortVideoRequest) (*FeedShortVideoResponse, error) // 获取视频信息 GetVideoById(context.Context, *GetVideoByIdRequest) (*GetVideoByIdResponse, error) // 获取当前用户的发布视频列表 ListPublishedVideo(context.Context, *ListPublishedVideoRequest) (*ListPublishedVideoResponse, error) // contains filtered or unexported methods }
ShortVideoCoreVideoServiceServer is the server API for ShortVideoCoreVideoService service. All implementations must embed UnimplementedShortVideoCoreVideoServiceServer for forward compatibility.
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=gateway.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 UnbindUserVoucherRequest ¶
type UnbindUserVoucherRequest struct { VoucherType VoucherType `protobuf:"varint,1,opt,name=voucher_type,json=voucherType,proto3,enum=gateway.v1.VoucherType" json:"voucher_type,omitempty"` Voucher string `protobuf:"bytes,2,opt,name=voucher,proto3" json:"voucher,omitempty"` // contains filtered or unexported fields }
func (*UnbindUserVoucherRequest) Descriptor
deprecated
func (*UnbindUserVoucherRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnbindUserVoucherRequest.ProtoReflect.Descriptor instead.
func (*UnbindUserVoucherRequest) GetVoucher ¶
func (x *UnbindUserVoucherRequest) GetVoucher() string
func (*UnbindUserVoucherRequest) GetVoucherType ¶
func (x *UnbindUserVoucherRequest) GetVoucherType() VoucherType
func (*UnbindUserVoucherRequest) ProtoMessage ¶
func (*UnbindUserVoucherRequest) ProtoMessage()
func (*UnbindUserVoucherRequest) ProtoReflect ¶
func (x *UnbindUserVoucherRequest) ProtoReflect() protoreflect.Message
func (*UnbindUserVoucherRequest) Reset ¶
func (x *UnbindUserVoucherRequest) Reset()
func (*UnbindUserVoucherRequest) String ¶
func (x *UnbindUserVoucherRequest) String() string
type UnbindUserVoucherResponse ¶
type UnbindUserVoucherResponse struct {
// contains filtered or unexported fields
}
func (*UnbindUserVoucherResponse) Descriptor
deprecated
func (*UnbindUserVoucherResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnbindUserVoucherResponse.ProtoReflect.Descriptor instead.
func (*UnbindUserVoucherResponse) ProtoMessage ¶
func (*UnbindUserVoucherResponse) ProtoMessage()
func (*UnbindUserVoucherResponse) ProtoReflect ¶
func (x *UnbindUserVoucherResponse) ProtoReflect() protoreflect.Message
func (*UnbindUserVoucherResponse) Reset ¶
func (x *UnbindUserVoucherResponse) Reset()
func (*UnbindUserVoucherResponse) String ¶
func (x *UnbindUserVoucherResponse) 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) CreateCollection ¶
func (UnimplementedCollectionServiceServer) CreateCollection(context.Context, *CreateCollectionRequest) (*CreateCollectionResponse, error)
func (UnimplementedCollectionServiceServer) ListCollection ¶
func (UnimplementedCollectionServiceServer) ListCollection(context.Context, *ListCollectionRequest) (*ListCollectionResponse, error)
func (UnimplementedCollectionServiceServer) ListVideo4Collection ¶
func (UnimplementedCollectionServiceServer) ListVideo4Collection(context.Context, *ListVideo4CollectionRequest) (*ListVideo4CollectionResponse, 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) CreateComment ¶
func (UnimplementedCommentServiceServer) CreateComment(context.Context, *CreateCommentRequest) (*CreateCommentResponse, error)
func (UnimplementedCommentServiceServer) ListChildComment ¶
func (UnimplementedCommentServiceServer) ListChildComment(context.Context, *ListChildCommentRequest) (*ListChildCommentResponse, error)
func (UnimplementedCommentServiceServer) ListComment4Video ¶
func (UnimplementedCommentServiceServer) ListComment4Video(context.Context, *ListComment4VideoRequest) (*ListComment4VideoResponse, error)
func (UnimplementedCommentServiceServer) RemoveComment ¶
func (UnimplementedCommentServiceServer) RemoveComment(context.Context, *RemoveCommentRequest) (*RemoveCommentResponse, error)
type UnimplementedFavoriteServiceServer ¶
type UnimplementedFavoriteServiceServer struct{}
UnimplementedFavoriteServiceServer 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 (UnimplementedFavoriteServiceServer) AddFavorite ¶
func (UnimplementedFavoriteServiceServer) AddFavorite(context.Context, *AddFavoriteRequest) (*AddFavoriteResponse, error)
func (UnimplementedFavoriteServiceServer) ListFavoriteVideo ¶
func (UnimplementedFavoriteServiceServer) ListFavoriteVideo(context.Context, *ListFavoriteVideoRequest) (*ListFavoriteVideoResponse, error)
func (UnimplementedFavoriteServiceServer) RemoveFavorite ¶
func (UnimplementedFavoriteServiceServer) RemoveFavorite(context.Context, *RemoveFavoriteRequest) (*RemoveFavoriteResponse, error)
type UnimplementedFileServiceServer ¶
type UnimplementedFileServiceServer struct{}
UnimplementedFileServiceServer 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 (UnimplementedFileServiceServer) PreSignUploadingPublicFile ¶
func (UnimplementedFileServiceServer) PreSignUploadingPublicFile(context.Context, *PreSignUploadPublicFileRequest) (*PreSignUploadPublicFileResponse, error)
func (UnimplementedFileServiceServer) ReportPublicFileUploaded ¶
func (UnimplementedFileServiceServer) ReportPublicFileUploaded(context.Context, *ReportPublicFileUploadedRequest) (*ReportPublicFileUploadedResponse, 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) ListFollowing ¶
func (UnimplementedFollowServiceServer) ListFollowing(context.Context, *ListFollowingRequest) (*ListFollowingResponse, error)
func (UnimplementedFollowServiceServer) RemoveFollow ¶
func (UnimplementedFollowServiceServer) RemoveFollow(context.Context, *RemoveFollowRequest) (*RemoveFollowResponse, error)
type UnimplementedShortVideoCoreVideoServiceServer ¶
type UnimplementedShortVideoCoreVideoServiceServer struct{}
UnimplementedShortVideoCoreVideoServiceServer 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 (UnimplementedShortVideoCoreVideoServiceServer) FeedShortVideo ¶
func (UnimplementedShortVideoCoreVideoServiceServer) FeedShortVideo(context.Context, *FeedShortVideoRequest) (*FeedShortVideoResponse, error)
func (UnimplementedShortVideoCoreVideoServiceServer) GetVideoById ¶
func (UnimplementedShortVideoCoreVideoServiceServer) GetVideoById(context.Context, *GetVideoByIdRequest) (*GetVideoByIdResponse, error)
func (UnimplementedShortVideoCoreVideoServiceServer) ListPublishedVideo ¶
func (UnimplementedShortVideoCoreVideoServiceServer) ListPublishedVideo(context.Context, *ListPublishedVideoRequest) (*ListPublishedVideoResponse, error)
func (UnimplementedShortVideoCoreVideoServiceServer) PreSign4UploadCover ¶
func (UnimplementedShortVideoCoreVideoServiceServer) PreSign4UploadCover(context.Context, *PreSign4UploadRequest) (*PreSign4UploadResponse, error)
func (UnimplementedShortVideoCoreVideoServiceServer) PreSign4UploadVideo ¶
func (UnimplementedShortVideoCoreVideoServiceServer) PreSign4UploadVideo(context.Context, *PreSign4UploadVideoRequest) (*PreSign4UploadVideoResponse, error)
func (UnimplementedShortVideoCoreVideoServiceServer) ReportFinishUpload ¶
func (UnimplementedShortVideoCoreVideoServiceServer) ReportFinishUpload(context.Context, *ReportFinishUploadRequest) (*ReportFinishUploadResponse, error)
func (UnimplementedShortVideoCoreVideoServiceServer) ReportVideoFinishUpload ¶
func (UnimplementedShortVideoCoreVideoServiceServer) ReportVideoFinishUpload(context.Context, *ReportVideoFinishUploadRequest) (*ReportVideoFinishUploadResponse, 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) BindUserVoucher ¶
func (UnimplementedUserServiceServer) BindUserVoucher(context.Context, *BindUserVoucherRequest) (*BindUserVoucherResponse, error)
func (UnimplementedUserServiceServer) GetUserInfo ¶
func (UnimplementedUserServiceServer) GetUserInfo(context.Context, *GetUserInfoRequest) (*GetUserInfoResponse, error)
func (UnimplementedUserServiceServer) GetVerificationCode ¶
func (UnimplementedUserServiceServer) GetVerificationCode(context.Context, *GetVerificationCodeRequest) (*GetVerificationCodeResponse, error)
func (UnimplementedUserServiceServer) Login ¶
func (UnimplementedUserServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedUserServiceServer) Register ¶
func (UnimplementedUserServiceServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
func (UnimplementedUserServiceServer) UnbindUserVoucher ¶
func (UnimplementedUserServiceServer) UnbindUserVoucher(context.Context, *UnbindUserVoucherRequest) (*UnbindUserVoucherResponse, error)
func (UnimplementedUserServiceServer) UpdateUserInfo ¶
func (UnimplementedUserServiceServer) UpdateUserInfo(context.Context, *UpdateUserInfoRequest) (*UpdateUserInfoResponse, 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 UnsafeFavoriteServiceServer ¶
type UnsafeFavoriteServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFavoriteServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FavoriteServiceServer will result in compilation errors.
type UnsafeFileServiceServer ¶
type UnsafeFileServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFileServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FileServiceServer 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 UnsafeShortVideoCoreVideoServiceServer ¶
type UnsafeShortVideoCoreVideoServiceServer interface {
// contains filtered or unexported methods
}
UnsafeShortVideoCoreVideoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ShortVideoCoreVideoServiceServer 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 UpdateCollectionRequest ¶
type UpdateCollectionRequest struct { // @gotags: json:"id,omitempty,string" 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"` // 收藏夹名称 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 { Collection *Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` // contains filtered or unexported fields }
func (*UpdateCollectionResponse) Descriptor
deprecated
func (*UpdateCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCollectionResponse.ProtoReflect.Descriptor instead.
func (*UpdateCollectionResponse) GetCollection ¶
func (x *UpdateCollectionResponse) GetCollection() *Collection
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 UpdateUserInfoRequest ¶
type UpdateUserInfoRequest struct { // @gotags: json:"user_id,omitempty,string" 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 {
// contains filtered or unexported fields
}
func (*UpdateUserInfoResponse) Descriptor
deprecated
func (*UpdateUserInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserInfoResponse.ProtoReflect.Descriptor instead.
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 { // @gotags: json:"id,omitempty,string" 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"` // 邮箱 // @gotags: json:"followCount,omitempty,string" FollowCount int64 `protobuf:"varint,8,opt,name=followCount,proto3" json:"followCount,omitempty"` // 关注总数 // @gotags: json:"followerCount,omitempty,string" FollowerCount int64 `protobuf:"varint,9,opt,name=followerCount,proto3" json:"followerCount,omitempty"` // 粉丝总数 // @gotags: json:"totalFavorited,omitempty,string" TotalFavorited int64 `protobuf:"varint,10,opt,name=totalFavorited,proto3" json:"totalFavorited,omitempty"` // 获赞数量 // @gotags: json:"workCount,omitempty,string" WorkCount int64 `protobuf:"varint,11,opt,name=workCount,proto3" json:"workCount,omitempty"` // 作品数量 // @gotags: json:"favoriteCount,omitempty,string" FavoriteCount int64 `protobuf:"varint,12,opt,name=favoriteCount,proto3" json:"favoriteCount,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 { // 获取验证码 GetVerificationCode(ctx context.Context, in *GetVerificationCodeRequest, opts ...grpc.CallOption) (*GetVerificationCodeResponse, error) // 注册 Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) // 登录 Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) // 获取用户信息 GetUserInfo(ctx context.Context, in *GetUserInfoRequest, opts ...grpc.CallOption) (*GetUserInfoResponse, error) // 更新用户信息 UpdateUserInfo(ctx context.Context, in *UpdateUserInfoRequest, opts ...grpc.CallOption) (*UpdateUserInfoResponse, error) BindUserVoucher(ctx context.Context, in *BindUserVoucherRequest, opts ...grpc.CallOption) (*BindUserVoucherResponse, error) UnbindUserVoucher(ctx context.Context, in *UnbindUserVoucherRequest, opts ...grpc.CallOption) (*UnbindUserVoucherResponse, 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 { BindUserVoucher(ctx context.Context, req *BindUserVoucherRequest, opts ...http.CallOption) (rsp *BindUserVoucherResponse, err error) GetUserInfo(ctx context.Context, req *GetUserInfoRequest, opts ...http.CallOption) (rsp *GetUserInfoResponse, err error) GetVerificationCode(ctx context.Context, req *GetVerificationCodeRequest, opts ...http.CallOption) (rsp *GetVerificationCodeResponse, err error) Login(ctx context.Context, req *LoginRequest, opts ...http.CallOption) (rsp *LoginResponse, err error) Register(ctx context.Context, req *RegisterRequest, opts ...http.CallOption) (rsp *RegisterResponse, err error) UnbindUserVoucher(ctx context.Context, req *UnbindUserVoucherRequest, opts ...http.CallOption) (rsp *UnbindUserVoucherResponse, 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) BindUserVoucher ¶
func (c *UserServiceHTTPClientImpl) BindUserVoucher(ctx context.Context, in *BindUserVoucherRequest, opts ...http.CallOption) (*BindUserVoucherResponse, error)
func (*UserServiceHTTPClientImpl) GetUserInfo ¶
func (c *UserServiceHTTPClientImpl) GetUserInfo(ctx context.Context, in *GetUserInfoRequest, opts ...http.CallOption) (*GetUserInfoResponse, error)
func (*UserServiceHTTPClientImpl) GetVerificationCode ¶
func (c *UserServiceHTTPClientImpl) GetVerificationCode(ctx context.Context, in *GetVerificationCodeRequest, opts ...http.CallOption) (*GetVerificationCodeResponse, error)
func (*UserServiceHTTPClientImpl) Login ¶
func (c *UserServiceHTTPClientImpl) Login(ctx context.Context, in *LoginRequest, opts ...http.CallOption) (*LoginResponse, error)
func (*UserServiceHTTPClientImpl) Register ¶
func (c *UserServiceHTTPClientImpl) Register(ctx context.Context, in *RegisterRequest, opts ...http.CallOption) (*RegisterResponse, error)
func (*UserServiceHTTPClientImpl) UnbindUserVoucher ¶
func (c *UserServiceHTTPClientImpl) UnbindUserVoucher(ctx context.Context, in *UnbindUserVoucherRequest, opts ...http.CallOption) (*UnbindUserVoucherResponse, error)
func (*UserServiceHTTPClientImpl) UpdateUserInfo ¶
func (c *UserServiceHTTPClientImpl) UpdateUserInfo(ctx context.Context, in *UpdateUserInfoRequest, opts ...http.CallOption) (*UpdateUserInfoResponse, error)
type UserServiceHTTPServer ¶
type UserServiceHTTPServer interface { BindUserVoucher(context.Context, *BindUserVoucherRequest) (*BindUserVoucherResponse, error) // GetUserInfo 获取用户信息 GetUserInfo(context.Context, *GetUserInfoRequest) (*GetUserInfoResponse, error) // GetVerificationCode 获取验证码 GetVerificationCode(context.Context, *GetVerificationCodeRequest) (*GetVerificationCodeResponse, error) // Login 登录 Login(context.Context, *LoginRequest) (*LoginResponse, error) // Register 注册 Register(context.Context, *RegisterRequest) (*RegisterResponse, error) UnbindUserVoucher(context.Context, *UnbindUserVoucherRequest) (*UnbindUserVoucherResponse, error) // UpdateUserInfo 更新用户信息 UpdateUserInfo(context.Context, *UpdateUserInfoRequest) (*UpdateUserInfoResponse, error) }
type UserServiceServer ¶
type UserServiceServer interface { // 获取验证码 GetVerificationCode(context.Context, *GetVerificationCodeRequest) (*GetVerificationCodeResponse, error) // 注册 Register(context.Context, *RegisterRequest) (*RegisterResponse, error) // 登录 Login(context.Context, *LoginRequest) (*LoginResponse, error) // 获取用户信息 GetUserInfo(context.Context, *GetUserInfoRequest) (*GetUserInfoResponse, error) // 更新用户信息 UpdateUserInfo(context.Context, *UpdateUserInfoRequest) (*UpdateUserInfoResponse, error) BindUserVoucher(context.Context, *BindUserVoucherRequest) (*BindUserVoucherResponse, error) UnbindUserVoucher(context.Context, *UnbindUserVoucherRequest) (*UnbindUserVoucherResponse, 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 { // @gotags: json:"id,omitempty,string" Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 视频唯一标识 Author *VideoAuthor `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"` // 视频作者信息 PlayUrl string `protobuf:"bytes,3,opt,name=play_url,json=playUrl,proto3" json:"play_url,omitempty"` // 视频播放地址 CoverUrl string `protobuf:"bytes,4,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"` // 视频封面地址 // @gotags: json:"favoriteCount,omitempty,string" FavoriteCount int64 `protobuf:"varint,5,opt,name=favoriteCount,proto3" json:"favoriteCount,omitempty"` // 视频的点赞总数 // @gotags: json:"commentCount,omitempty,string" CommentCount int64 `protobuf:"varint,6,opt,name=commentCount,proto3" json:"commentCount,omitempty"` // 视频的评论总数 IsFavorite bool `protobuf:"varint,7,opt,name=isFavorite,proto3" json:"isFavorite,omitempty"` // true-已点赞,false-未点赞 Title string `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"` // 视频标题 IsCollected bool `protobuf:"varint,9,opt,name=isCollected,proto3" json:"isCollected,omitempty"` // 是否已收藏 // @gotags: json:"collectedCount,omitempty,string" CollectedCount int64 `protobuf:"varint,10,opt,name=collectedCount,proto3" json:"collectedCount,omitempty"` // 收藏数 // contains filtered or unexported fields }
func (*Video) Descriptor
deprecated
func (*Video) GetAuthor ¶
func (x *Video) GetAuthor() *VideoAuthor
func (*Video) GetCollectedCount ¶
func (*Video) GetCommentCount ¶
func (*Video) GetCoverUrl ¶
func (*Video) GetFavoriteCount ¶
func (*Video) GetIsCollected ¶
func (*Video) GetIsFavorite ¶
func (*Video) GetPlayUrl ¶
func (*Video) ProtoMessage ¶
func (*Video) ProtoMessage()
func (*Video) ProtoReflect ¶
func (x *Video) ProtoReflect() protoreflect.Message
type VideoAuthor ¶
type VideoAuthor struct { // @gotags: json:"id,omitempty,string" 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 bool `protobuf:"varint,4,opt,name=isFollowing,proto3" json:"isFollowing,omitempty"` // contains filtered or unexported fields }
func (*VideoAuthor) Descriptor
deprecated
func (*VideoAuthor) Descriptor() ([]byte, []int)
Deprecated: Use VideoAuthor.ProtoReflect.Descriptor instead.
func (*VideoAuthor) GetAvatar ¶
func (x *VideoAuthor) GetAvatar() string
func (*VideoAuthor) GetId ¶
func (x *VideoAuthor) GetId() int64
func (*VideoAuthor) GetIsFollowing ¶
func (x *VideoAuthor) GetIsFollowing() bool
func (*VideoAuthor) GetName ¶
func (x *VideoAuthor) GetName() string
func (*VideoAuthor) ProtoMessage ¶
func (*VideoAuthor) ProtoMessage()
func (*VideoAuthor) ProtoReflect ¶
func (x *VideoAuthor) ProtoReflect() protoreflect.Message
func (*VideoAuthor) Reset ¶
func (x *VideoAuthor) Reset()
func (*VideoAuthor) String ¶
func (x *VideoAuthor) String() string
type VoucherType ¶
type VoucherType int32
const ( VoucherType_PHONE VoucherType = 0 VoucherType_EMAIL VoucherType = 1 )
func (VoucherType) Descriptor ¶
func (VoucherType) Descriptor() protoreflect.EnumDescriptor
func (VoucherType) Enum ¶
func (x VoucherType) Enum() *VoucherType
func (VoucherType) EnumDescriptor
deprecated
func (VoucherType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VoucherType.Descriptor instead.
func (VoucherType) Number ¶
func (x VoucherType) Number() protoreflect.EnumNumber
func (VoucherType) String ¶
func (x VoucherType) String() string
func (VoucherType) Type ¶
func (VoucherType) Type() protoreflect.EnumType
Source Files
¶
- collection.pb.go
- collection_grpc.pb.go
- collection_http.pb.go
- comment.pb.go
- comment_grpc.pb.go
- comment_http.pb.go
- common.pb.go
- favorite.pb.go
- favorite_grpc.pb.go
- favorite_http.pb.go
- file.pb.go
- file_grpc.pb.go
- file_http.pb.go
- follow.pb.go
- follow_grpc.pb.go
- follow_http.pb.go
- user.pb.go
- user_grpc.pb.go
- user_http.pb.go
- video.pb.go
- video_grpc.pb.go
- video_http.pb.go