Documentation
¶
Index ¶
- func BuildCommentActionResp(err error) *comment.DouyinCommentActionResponse
- func BuildCommentListResp(err error) *comment.DouyinCommentListResponse
- func BuildFavoriteActionResp(err error) *favorite.DouyinFavoriteActionResponse
- func BuildFavoriteListResp(err error) *favorite.DouyinFavoriteListResponse
- func BuildFollowerListResp(err error) *relation.DouyinRelationFollowerListResponse
- func BuildFollowingListResp(err error) *relation.DouyinRelationFollowListResponse
- func BuildPublishListResp(err error) *publish.DouyinPublishListResponse
- func BuildPublishResp(err error) *publish.DouyinPublishActionResponse
- func BuildRelationActionResp(err error) *relation.DouyinRelationActionResponse
- func BuildVideoResp(err error) *feed.DouyinFeedResponse
- func BuilduserRegisterResp(err error) *user.DouyinUserRegisterResponse
- func BuilduserUserResp(err error) *user.DouyinUserResponse
- func Comments(ctx context.Context, vs []*db.Comment, fromID int64) ([]*comment.Comment, error)
- func FavoriteVideos(ctx context.Context, vs []db.Video, uid *int64) ([]*feed.Video, error)
- func FollowerList(ctx context.Context, vs []*db.Relation, fromID int64) ([]*user.User, error)
- func FollowingList(ctx context.Context, vs []*db.Relation, fromID int64) ([]*user.User, error)
- func User(ctx context.Context, u *db.User, fromID int64) (*user.User, error)
- func Users(ctx context.Context, us []*db.User, fromID int64) ([]*user.User, error)
- func Video(ctx context.Context, v *db.Video, fromID int64) (*feed.Video, error)
- func Videos(ctx context.Context, vs []*db.Video, fromID *int64) ([]*feed.Video, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCommentActionResp ¶
func BuildCommentActionResp(err error) *comment.DouyinCommentActionResponse
BuildCommentActionResp build CommentActionResp from error
func BuildCommentListResp ¶
func BuildCommentListResp(err error) *comment.DouyinCommentListResponse
BuildCommentListResp build CommentListResp from error
func BuildFavoriteActionResp ¶
func BuildFavoriteActionResp(err error) *favorite.DouyinFavoriteActionResponse
BuildFavoriteActionResp build FavoriteActionResp from error
func BuildFavoriteListResp ¶
func BuildFavoriteListResp(err error) *favorite.DouyinFavoriteListResponse
BuildFavoriteListResp build FavoriteListResp from error
func BuildFollowerListResp ¶
func BuildFollowerListResp(err error) *relation.DouyinRelationFollowerListResponse
BuildFollowerListResp build FollowerListResp from error
func BuildFollowingListResp ¶
func BuildFollowingListResp(err error) *relation.DouyinRelationFollowListResponse
BuildFollowingListResp build FollowingListResp from error
func BuildPublishListResp ¶
func BuildPublishListResp(err error) *publish.DouyinPublishListResponse
BuildPublishResp build PublishResp from error
func BuildPublishResp ¶
func BuildPublishResp(err error) *publish.DouyinPublishActionResponse
BuildPublishResp build PublishResp from error
func BuildRelationActionResp ¶
func BuildRelationActionResp(err error) *relation.DouyinRelationActionResponse
BuildRelationActionResp build RelationActionResp from error
func BuildVideoResp ¶
func BuildVideoResp(err error) *feed.DouyinFeedResponse
BuildVideoResp build VideoResp from error
func BuilduserRegisterResp ¶
func BuilduserRegisterResp(err error) *user.DouyinUserRegisterResponse
BuilduserRegisterResp build userRegisterResp from error
func BuilduserUserResp ¶
func BuilduserUserResp(err error) *user.DouyinUserResponse
BuilduserResp build userResp from error
func FavoriteVideos ¶
FavoriteVideos pack favoriteVideos info.
func FollowerList ¶
FollowerList pack lists of follower info.
func FollowingList ¶
FollowingList pack lists of following info.
Types ¶
This section is empty.