service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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