Documentation ¶
Index ¶
- type RelationService
- func (s *RelationService) Action(req *relation_rpc.RPCRelationActionReq) error
- func (s *RelationService) Cancel(req *relation_rpc.RPCRelationActionReq) error
- func (s *RelationService) CheckIsFollow(req *relation_rpc.RPCCheckFollowReq) (bool, error)
- func (s *RelationService) FollowList(req *relation_rpc.RPCRelationFollowListReq) ([]*model.User, []bool, error)
- func (s *RelationService) FollowerList(req *relation_rpc.RPCRelationFollowerListReq) ([]*model.User, []bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RelationService ¶
type RelationService struct {
// contains filtered or unexported fields
}
func NewRelationService ¶
func NewRelationService(ctx context.Context) *RelationService
func (*RelationService) Action ¶
func (s *RelationService) Action(req *relation_rpc.RPCRelationActionReq) error
func (*RelationService) Cancel ¶
func (s *RelationService) Cancel(req *relation_rpc.RPCRelationActionReq) error
func (*RelationService) CheckIsFollow ¶
func (s *RelationService) CheckIsFollow(req *relation_rpc.RPCCheckFollowReq) (bool, error)
func (*RelationService) FollowList ¶
func (s *RelationService) FollowList(req *relation_rpc.RPCRelationFollowListReq) ([]*model.User, []bool, error)
func (*RelationService) FollowerList ¶
func (s *RelationService) FollowerList(req *relation_rpc.RPCRelationFollowerListReq) ([]*model.User, []bool, error)
Click to show internal directories.
Click to hide internal directories.