Documentation
¶
Index ¶
- type Service
- func (s *Service) AddFollow(ctx context.Context, userId, targetUserId int64) error
- func (s *Service) ListFollowing(ctx context.Context, userId int64, followType v1.FollowType, ...) (result *followserviceiface.ListFollowingDTO, err error)
- func (s *Service) RemoveFollow(ctx context.Context, userId, targetUserId int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(follow repoiface.FollowRepository) *Service
func (*Service) ListFollowing ¶
func (s *Service) ListFollowing(ctx context.Context, userId int64, followType v1.FollowType, pagination *v1.PaginationRequest) (result *followserviceiface.ListFollowingDTO, err error)
Click to show internal directories.
Click to hide internal directories.