rpc

package
v0.0.0-...-37f092c Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FollowList

func FollowList(ctx context.Context, req *follow.FollowListRequest) ([]*follow.User, error)

func FollowerList

func FollowerList(ctx context.Context, req *follow.FollowerListRequest) ([]*follow.User, error)

func FriendList

func FriendList(ctx context.Context, req *follow.FriendListRequest) ([]*follow.FriendUser, error)

func Init

func Init()

func InitChatRpc

func InitChatRpc()

func InitFollowRpc

func InitFollowRpc()

func InitInteractionRpc

func InitInteractionRpc()

func InitUserRpc

func InitUserRpc()

func InitVideoRpc

func InitVideoRpc()

func MessageAction

func MessageAction(ctx context.Context, req *chat.MessagePostRequest) error

func MessageList

func MessageList(ctx context.Context, req *chat.MessageListRequest) ([]*chat.Message, int64, error)

func PublishList

func PublishList(ctx context.Context, req *video.GetPublishListRequest) ([]*video.Video, error)

func RelationAction

func RelationAction(ctx context.Context, req *follow.ActionRequest) error

func UserInfo

func UserInfo(ctx context.Context, req *user.InfoRequest) (*user.User, error)

func UserLogin

func UserLogin(ctx context.Context, req *user.LoginRequest) (int64, string, error)

func UserRegister

func UserRegister(ctx context.Context, req *user.RegisterRequest) (int64, string, error)

func VideoFeed

func VideoFeed(ctx context.Context, req *video.FeedRequest) ([]*video.Video, int64, error)

func VideoPublish

func VideoPublish(ctx context.Context, req *video.PutVideoRequest) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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