Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FollowService ¶
type FollowService interface {
AddFollow(ctx context.Context, userId, targetUserId int64) error
RemoveFollow(ctx context.Context, userId, targetUserId int64) error
ListFollowing(ctx context.Context, userId int64, followType v1.FollowType, pagination *v1.PaginationRequest) (*ListFollowingDTO, error)
ListFollowingInGivenList(ctx context.Context, userId int64, targetUserIdList []int64) ([]int64, error)
CountFollow(ctx context.Context, userId int64) (followingNum int64, followerNum int64, err error)
}
type ListFollowingDTO ¶ added in v0.1.4
Click to show internal directories.
Click to hide internal directories.