Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FollowListService ¶
type FollowListService struct {
// contains filtered or unexported fields
}
func NewFollowListService ¶
func NewFollowListService(ctx context.Context) *FollowListService
NewFollowListService new FollowListService
func (*FollowListService) FollowList ¶
func (s *FollowListService) FollowList(req *relation.FollowListRequest) ([]*relation.User, error)
FollowList 查询用户关注列表
type FollowerListService ¶
type FollowerListService struct {
// contains filtered or unexported fields
}
func NewFollowerListService ¶
func NewFollowerListService(ctx context.Context) *FollowerListService
NewFollowerListService new FollowerListService
func (*FollowerListService) FollowerList ¶
func (s *FollowerListService) FollowerList(req *relation.FollowerListRequest) ([]*relation.User, error)
FollowerList 查询用户粉丝列表
type FriendListService ¶
type FriendListService struct {
// contains filtered or unexported fields
}
func NewFriendListService ¶
func NewFriendListService(ctx context.Context) *FriendListService
func (*FriendListService) FriendList ¶
func (s *FriendListService) FriendList(req *relation.FriendListRequest) ([]*relation.FriendUser, error)
type RelationActionService ¶
type RelationActionService struct {
// contains filtered or unexported fields
}
func NewRelationActionService ¶
func NewRelationActionService(ctx context.Context) *RelationActionService
NewRelationActionService new RelationActionService
func (*RelationActionService) RelationAction ¶
func (s *RelationActionService) RelationAction(req *relation.RelationActionRequest) error
RelationAction 实现关注和取消关注操作 如果actionType等于1,表示当前用户关注其他用户,新建一条关注记录 如果actionType等于2,表示当前用户取消关注其他用户,删除该关注记录
Click to show internal directories.
Click to hide internal directories.