Documentation ¶
Index ¶
- func Action(ctx context.Context, req *relation_rpc.RPCRelationActionReq) error
- func ChatList(ctx context.Context, req *chat_rpc.RPCMessageChatReq) (*chat_rpc.RPCMessageChatResp, error)
- func CheckUser(ctx context.Context, req *user_rpc.RPCCheckUserReq) (int64, error)
- func CommentList(ctx context.Context, req *comment_rpc.RPCCommentListReq) (*comment_rpc.RPCCommentListResp, error)
- func CreateComment(ctx context.Context, req *comment_rpc.RPCCommentCreateReq) (*comment_rpc.RPCActionResp, error)
- func CreateFavorite(ctx context.Context, req *favorite_rpc.RPCFavoriteCreateReq) error
- func CreateMessage(ctx context.Context, req *chat_rpc.RPCMessageCreateReq) (*chat_rpc.RPCMessageCreateResp, error)
- func CreateUser(ctx context.Context, req *user_rpc.RPCCreateUserReq) error
- func CreateVideo(ctx context.Context, req *video_rpc.CreateVideoReq) error
- func DelComment(ctx context.Context, req *comment_rpc.RPCCommentDelReq) (*comment_rpc.RPCActionResp, error)
- func DelFavorite(ctx context.Context, req *favorite_rpc.RPCFavoriteDelReq) error
- func FavoriteList(ctx context.Context, req *favorite_rpc.RPCFavoriteListReq) ([]int64, error)
- func FollowList(ctx context.Context, req *relation_rpc.RPCRelationFollowListReq) (*relation_rpc.RPCRelationFollowListResp, error)
- func FollowerList(ctx context.Context, req *relation_rpc.RPCRelationFollowerListReq) (*relation_rpc.RPCRelationFollowerListResp, error)
- func FriendList(ctx context.Context, req *chat_rpc.RPCFriendListReq) (*chat_rpc.RPCFriendListResp, error)
- func Init()
- func InitChatRpc()
- func InitCommentRpc()
- func QueryUser(ctx context.Context, req *user_rpc.RPCQueryUserReq) (resp *user_rpc.RPCQueryUserResp)
- func QueryVideo(ctx context.Context, req *video_rpc.QueryVideoReq) ([]*video_rpc.Video, int64, error)
- func QueryVideoByIDBatch(ctx context.Context, req *video_rpc.QueryVideoByVideoIdBatchReq) ([]*video_rpc.Video, error)
- func QueryVideoByUser(ctx context.Context, req *video_rpc.QueryVideoByUserReq) ([]*video_rpc.Video, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Action ¶
func Action(ctx context.Context, req *relation_rpc.RPCRelationActionReq) error
func ChatList ¶
func ChatList(ctx context.Context, req *chat_rpc.RPCMessageChatReq) (*chat_rpc.RPCMessageChatResp, error)
func CommentList ¶
func CommentList(ctx context.Context, req *comment_rpc.RPCCommentListReq) (*comment_rpc.RPCCommentListResp, error)
func CreateComment ¶
func CreateComment(ctx context.Context, req *comment_rpc.RPCCommentCreateReq) (*comment_rpc.RPCActionResp, error)
func CreateFavorite ¶
func CreateFavorite(ctx context.Context, req *favorite_rpc.RPCFavoriteCreateReq) error
func CreateMessage ¶
func CreateMessage(ctx context.Context, req *chat_rpc.RPCMessageCreateReq) (*chat_rpc.RPCMessageCreateResp, 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 DelComment ¶
func DelComment(ctx context.Context, req *comment_rpc.RPCCommentDelReq) (*comment_rpc.RPCActionResp, 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 FollowList ¶
func FollowList(ctx context.Context, req *relation_rpc.RPCRelationFollowListReq) (*relation_rpc.RPCRelationFollowListResp, error)
func FollowerList ¶
func FollowerList(ctx context.Context, req *relation_rpc.RPCRelationFollowerListReq) (*relation_rpc.RPCRelationFollowerListResp, error)
func FriendList ¶
func FriendList(ctx context.Context, req *chat_rpc.RPCFriendListReq) (*chat_rpc.RPCFriendListResp, error)
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 QueryVideoByIDBatch ¶
func QueryVideoByUser ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.