service

package
v0.0.0-...-d63e0d4 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 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

FollowList get user follow list info

type FollowerListService

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

func NewFollowerListService

func NewFollowerListService(ctx context.Context) *FollowerListService

NewFollowerListService new FollowerListService

func (*FollowerListService) FollowerList

FollowerList get user follower list info

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 implement follow and unfollow action 如果actionType等于1,表示当前用户关注其他用户, 当前用户的关注总数增加,其他用户的粉丝总数增加, 新建一条关注记录

如果actionType等于2,表示当前用户取消关注其他用户 当前用户的关注总数减少,其他用户的粉丝总数减少, 删除该关注记录

Jump to

Keyboard shortcuts

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