service

package
v0.0.0-...-dfc68d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2023 License: MIT Imports: 7 Imported by: 0

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

type RelationActionService

type RelationActionService struct {
	// contains filtered or unexported fields
}

func NewRelationActionService

func NewRelationActionService(ctx context.Context) *RelationActionService

NewRelationActionService new RelationActionService

func (*RelationActionService) RelationAction

RelationAction 实现关注和取消关注操作 如果actionType等于1,表示当前用户关注其他用户,新建一条关注记录 如果actionType等于2,表示当前用户取消关注其他用户,删除该关注记录

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL