Documentation ¶
Index ¶
- type FollowService
- func (s *FollowService) Follow(req *follow.ActionRequest) error
- func (s *FollowService) GetFollowCount(req *follow.FollowCountRequest) (int64, error)
- func (s *FollowService) GetFollowList(req *follow.FollowListRequest) ([]*follow.User, error)
- func (s *FollowService) GetFollowerCount(req *follow.FollowerCountRequest) (int64, error)
- func (s *FollowService) GetFollowerList(req *follow.FollowerListRequest) ([]*follow.User, error)
- func (s *FollowService) IsFollow(req *follow.IsFollowRequest) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FollowService ¶
type FollowService struct {
// contains filtered or unexported fields
}
func NewFollowService ¶
func NewFollowService(ctx context.Context) *FollowService
func (*FollowService) Follow ¶
func (s *FollowService) Follow(req *follow.ActionRequest) error
func (*FollowService) GetFollowCount ¶
func (s *FollowService) GetFollowCount(req *follow.FollowCountRequest) (int64, error)
func (*FollowService) GetFollowList ¶
func (s *FollowService) GetFollowList(req *follow.FollowListRequest) ([]*follow.User, error)
func (*FollowService) GetFollowerCount ¶
func (s *FollowService) GetFollowerCount(req *follow.FollowerCountRequest) (int64, error)
func (*FollowService) GetFollowerList ¶
func (s *FollowService) GetFollowerList(req *follow.FollowerListRequest) ([]*follow.User, error)
func (*FollowService) IsFollow ¶
func (s *FollowService) IsFollow(req *follow.IsFollowRequest) (bool, error)
Click to show internal directories.
Click to hide internal directories.