rpc

package
v0.0.0-...-48d44df Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckUser

func CheckUser(ctx context.Context, req *user_rpc.RPCCheckUserReq) (int64, error)

func CreateUser

func CreateUser(ctx context.Context, req *user_rpc.RPCCreateUserReq) error

func CreateVideo

func CreateVideo(ctx context.Context, req *video_rpc.CreateVideoReq) error

func DelFavorite

func DelFavorite(ctx context.Context, req *favorite_rpc.RPCFavoriteDelReq) error

func FavoriteList

func FavoriteList(ctx context.Context, req *favorite_rpc.RPCFavoriteListReq) ([]int64, error)

func Init

func Init()

func InitChatRpc

func InitChatRpc()

func InitCommentRpc

func InitCommentRpc()

func QueryUser

func QueryUser(ctx context.Context, req *user_rpc.RPCQueryUserReq) (resp *user_rpc.RPCQueryUserResp)

func QueryVideo

func QueryVideo(ctx context.Context, req *video_rpc.QueryVideoReq) ([]*video_rpc.Video, int64, error)

func QueryVideoByUser

func QueryVideoByUser(ctx context.Context, req *video_rpc.QueryVideoByUserReq) ([]*video_rpc.Video, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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