Documentation ¶
Index ¶
- func CommentAction(ctx context.Context, req *comment.DouyinCommentActionRequest) (resp *comment.DouyinCommentActionResponse, err error)
- func CommentList(ctx context.Context, req *comment.DouyinCommentListRequest) (resp *comment.DouyinCommentListResponse, err error)
- func FavoriteAction(ctx context.Context, req *favorite.DouyinFavoriteActionRequest) (resp *favorite.DouyinFavoriteActionResponse, err error)
- func FavoriteList(ctx context.Context, req *favorite.DouyinFavoriteListRequest) (resp *favorite.DouyinFavoriteListResponse, err error)
- func GetUserById(ctx context.Context, req *user.DouyinUserRequest) (resp *user.DouyinUserResponse, err error)
- func GetUserFeed(ctx context.Context, req *feed.DouyinFeedRequest) (resp *feed.DouyinFeedResponse, err error)
- func InitRPC(Config *ttviper.Config)
- func Login(ctx context.Context, req *user.DouyinUserRegisterRequest) (resp *user.DouyinUserRegisterResponse, err error)
- func PublishAction(ctx context.Context, req *publish.DouyinPublishActionRequest) (resp *publish.DouyinPublishActionResponse, err error)
- func PublishList(ctx context.Context, req *publish.DouyinPublishListRequest) (resp *publish.DouyinPublishListResponse, err error)
- func Register(ctx context.Context, req *user.DouyinUserRegisterRequest) (resp *user.DouyinUserRegisterResponse, err error)
- func RelationAction(ctx context.Context, req *relation.DouyinRelationActionRequest) (resp *relation.DouyinRelationActionResponse, err error)
- func RelationFollowList(ctx context.Context, req *relation.DouyinRelationFollowListRequest) (resp *relation.DouyinRelationFollowListResponse, err error)
- func RelationFollowerList(ctx context.Context, req *relation.DouyinRelationFollowerListRequest) (resp *relation.DouyinRelationFollowerListResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommentAction ¶
func CommentAction(ctx context.Context, req *comment.DouyinCommentActionRequest) (resp *comment.DouyinCommentActionResponse, err error)
传递 评论操作 的上下文, 并获取 RPC Server 端的响应.
func CommentList ¶
func CommentList(ctx context.Context, req *comment.DouyinCommentListRequest) (resp *comment.DouyinCommentListResponse, err error)
传递 获取评论列表操作 的上下文, 并获取 RPC Server 端的响应.
func FavoriteAction ¶
func FavoriteAction(ctx context.Context, req *favorite.DouyinFavoriteActionRequest) (resp *favorite.DouyinFavoriteActionResponse, err error)
传递 点赞操作 的上下文, 并获取 RPC Server 端的响应.
func FavoriteList ¶
func FavoriteList(ctx context.Context, req *favorite.DouyinFavoriteListRequest) (resp *favorite.DouyinFavoriteListResponse, err error)
传递 获取点赞列表操作 的上下文, 并获取 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 Login ¶
func Login(ctx context.Context, req *user.DouyinUserRegisterRequest) (resp *user.DouyinUserRegisterResponse, err error)
传递 登录操作 的上下文, 并获取 RPC Server 端的响应.
func PublishAction ¶
func PublishAction(ctx context.Context, req *publish.DouyinPublishActionRequest) (resp *publish.DouyinPublishActionResponse, err error)
传递 发布视频操作 的上下文, 并获取 RPC Server 端的响应.
func PublishList ¶
func PublishList(ctx context.Context, req *publish.DouyinPublishListRequest) (resp *publish.DouyinPublishListResponse, err error)
传递 获取用户发布视频列表操作 的上下文, 并获取 RPC Server 端的响应.
func Register ¶
func Register(ctx context.Context, req *user.DouyinUserRegisterRequest) (resp *user.DouyinUserRegisterResponse, err error)
传递 注册操作 的上下文, 并获取 RPC Server 端的响应.
func RelationAction ¶
func RelationAction(ctx context.Context, req *relation.DouyinRelationActionRequest) (resp *relation.DouyinRelationActionResponse, err error)
传递 关注操作 的上下文, 并获取 RPC Server 端的响应.
func RelationFollowList ¶
func RelationFollowList(ctx context.Context, req *relation.DouyinRelationFollowListRequest) (resp *relation.DouyinRelationFollowListResponse, err error)
传递 获取正在关注列表操作 的上下文, 并获取 RPC Server 端的响应.
func RelationFollowerList ¶
func RelationFollowerList(ctx context.Context, req *relation.DouyinRelationFollowerListRequest) (resp *relation.DouyinRelationFollowerListResponse, err error)
传递 获取粉丝列表操作 的上下文, 并获取 RPC Server 端的响应.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.