rpc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 20 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