rpc

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommentAction

传递 评论操作 的上下文, 并获取 RPC Server 端的响应.

func CommentList

传递 获取评论列表操作 的上下文, 并获取 RPC Server 端的响应.

func FavoriteAction

传递 点赞操作 的上下文, 并获取 RPC Server 端的响应.

func FavoriteList

传递 获取点赞列表操作 的上下文, 并获取 RPC Server 端的响应.

func GetUserById

func GetUserById(ctx context.Context, req *user.DouyinUserRequest) (resp *user.DouyinUserResponse, err error)

传递 获取用户信息操作 的上下文, 并获取 RPC Server 端的响应.

func GetUserFeed

func GetUserFeed(ctx context.Context, req *feed.DouyinFeedRequest) (resp *feed.DouyinFeedResponse, err error)

传递 获取视频流操作 的上下文, 并获取 RPC Server 端的响应.

func InitRPC

func InitRPC(Config *ttviper.Config)

InitRPC init rpc client

func Login

传递 登录操作 的上下文, 并获取 RPC Server 端的响应.

func PublishAction

传递 发布视频操作 的上下文, 并获取 RPC Server 端的响应.

func PublishList

传递 获取用户发布视频列表操作 的上下文, 并获取 RPC Server 端的响应.

func Register

传递 注册操作 的上下文, 并获取 RPC Server 端的响应.

func RelationAction

传递 关注操作 的上下文, 并获取 RPC Server 端的响应.

func RelationFollowList

传递 获取正在关注列表操作 的上下文, 并获取 RPC Server 端的响应.

func RelationFollowerList

传递 获取粉丝列表操作 的上下文, 并获取 RPC Server 端的响应.

Types

This section is empty.

Jump to

Keyboard shortcuts

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