Documentation
¶
Index ¶
- type FollowService
- func (s *FollowService) Action(req *follow.ActionRequest) error
- func (s *FollowService) FollowCount(req *follow.FollowCountRequest) (int64, error)
- func (s *FollowService) FollowList(req *follow.FollowListRequest) (*[]*follow.User, error)
- func (s *FollowService) FollowerCount(req *follow.FollowerCountRequest) (int64, error)
- func (s *FollowService) FollowerList(req *follow.FollowerListRequest) (*[]*follow.User, error)
- func (s *FollowService) FriendList(req *follow.FriendListRequest) (*[]*follow.FriendUser, 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
NewFollowService new FollowService
func (*FollowService) Action ¶
func (s *FollowService) Action(req *follow.ActionRequest) error
Action Function for the follow/close operation
func (*FollowService) FollowCount ¶
func (s *FollowService) FollowCount(req *follow.FollowCountRequest) (int64, error)
func (*FollowService) FollowList ¶
func (s *FollowService) FollowList(req *follow.FollowListRequest) (*[]*follow.User, error)
FollowList View the follow list
func (*FollowService) FollowerCount ¶
func (s *FollowService) FollowerCount(req *follow.FollowerCountRequest) (int64, error)
func (*FollowService) FollowerList ¶
func (s *FollowService) FollowerList(req *follow.FollowerListRequest) (*[]*follow.User, error)
FollowerList View fan list
func (*FollowService) FriendList ¶
func (s *FollowService) FriendList(req *follow.FriendListRequest) (*[]*follow.FriendUser, error)
FriendList Viewing friends list
func (*FollowService) IsFollow ¶
func (s *FollowService) IsFollow(req *follow.IsFollowRequest) (bool, error)
Click to show internal directories.
Click to hide internal directories.