Documentation ¶
Index ¶
- func CommentAction(ctx context.Context, req *interaction.CommentActionRequest) (*interaction.Comment, error)
- func CommentList(ctx context.Context, req *interaction.CommentListRequest) ([]*interaction.Comment, error)
- func FavoriteAction(ctx context.Context, req *interaction.FavoriteActionRequest) error
- func FavoriteList(ctx context.Context, req *interaction.FavoriteListRequest) ([]*interaction.Video, error)
- func FollowList(ctx context.Context, req *follow.FollowListRequest) ([]*follow.User, error)
- func FollowerList(ctx context.Context, req *follow.FollowerListRequest) ([]*follow.User, error)
- func FriendList(ctx context.Context, req *follow.FriendListRequest) ([]*follow.FriendUser, error)
- func Init()
- func InitChatRPC()
- func InitFollowRPC()
- func InitInteractionRPC()
- func InitUserRPC()
- func InitVideoRPC()
- func MessageAction(ctx context.Context, req *chat.MessagePostRequest) error
- func MessageList(ctx context.Context, req *chat.MessageListRequest) ([]*chat.Message, int64, error)
- func PublishList(ctx context.Context, req *video.GetPublishListRequest) ([]*video.Video, error)
- func RelationAction(ctx context.Context, req *follow.ActionRequest) error
- func UserInfo(ctx context.Context, req *user.InfoRequest) (*user.User, error)
- func UserLogin(ctx context.Context, req *user.LoginRequest) (int64, string, error)
- func UserRegister(ctx context.Context, req *user.RegisterRequest) (int64, string, error)
- func VideoFeed(ctx context.Context, req *video.FeedRequest) ([]*video.Video, int64, error)
- func VideoPublish(ctx context.Context, req *video.PutVideoRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommentAction ¶
func CommentAction(ctx context.Context, req *interaction.CommentActionRequest) (*interaction.Comment, error)
func CommentList ¶
func CommentList(ctx context.Context, req *interaction.CommentListRequest) ([]*interaction.Comment, error)
func FavoriteAction ¶
func FavoriteAction(ctx context.Context, req *interaction.FavoriteActionRequest) error
func FavoriteList ¶
func FavoriteList(ctx context.Context, req *interaction.FavoriteListRequest) ([]*interaction.Video, error)
func FollowList ¶
func FollowerList ¶
func FriendList ¶
func FriendList(ctx context.Context, req *follow.FriendListRequest) ([]*follow.FriendUser, error)
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 PublishList ¶
func RelationAction ¶
func RelationAction(ctx context.Context, req *follow.ActionRequest) error
func UserRegister ¶
func VideoPublish ¶
func VideoPublish(ctx context.Context, req *video.PutVideoRequest) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.