rpc

package
v0.0.0-...-7de97a6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommentList

查询评论列表功能

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 Init

func Init()

func QueryRelation

查询两个用户之间的关系

func QueryUserLikeVideo

func QueryUserLikeVideo(ctx context.Context, req *FavoriteServer.DouyinQueryFavoriteRequest) (bool, error)

查询user是否喜欢这个视频

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL