Documentation ¶
Index ¶
- func CommentList(ctx context.Context, req *CommentServer.DouyinCommentListRequest) (resp *CommentServer.DouyinCommentListResponse, err error)
- func GetUserInfo(ctx context.Context, req *UserServer.DouyinUserRequest) (*UserServer.User, error)
- func GetVideosFavoriteCount(ctx context.Context, req *FavoriteServer.DouyinVideoBeFavoriteRequest) (int64, error)
- func Init()
- func QueryRelation(ctx context.Context, req *RelationServer.DouyinQueryRelationRequest) (bool, error)
- func QueryUserLikeVideo(ctx context.Context, req *FavoriteServer.DouyinQueryFavoriteRequest) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommentList ¶
func CommentList(ctx context.Context, req *CommentServer.DouyinCommentListRequest) (resp *CommentServer.DouyinCommentListResponse, err error)
查询评论列表功能
func GetUserInfo ¶
func GetUserInfo(ctx context.Context, req *UserServer.DouyinUserRequest) (*UserServer.User, error)
批量获得用户信息
func GetVideosFavoriteCount ¶
func GetVideosFavoriteCount(ctx context.Context, req *FavoriteServer.DouyinVideoBeFavoriteRequest) (int64, error)
拿取视频中点赞数量
func QueryRelation ¶
func QueryRelation(ctx context.Context, req *RelationServer.DouyinQueryRelationRequest) (bool, error)
查询两个用户之间的关系
func QueryUserLikeVideo ¶
func QueryUserLikeVideo(ctx context.Context, req *FavoriteServer.DouyinQueryFavoriteRequest) (bool, error)
查询user是否喜欢这个视频
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.