follows

package
v1.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Follow

type Follow struct {
	FollowerFid  int64 `json:"follower_fid"`
	FollowingFid int64 `json:"following_fid"`
}

type FollowService

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

func NewFollowService

func NewFollowService(account *account.AccountService, registry *registry.RegistryService) *FollowService

func (*FollowService) Follow

func (f *FollowService) Follow(fid uint64) error

func (*FollowService) GetFollowersByFid

func (f *FollowService) GetFollowersByFid(fid uint64, limit int, cursor string) ([]users.User, string, error)

func (*FollowService) GetFollowersByFname

func (f *FollowService) GetFollowersByFname(fname string, limit int, cursor string) ([]users.User, string, error)

func (*FollowService) GetFollowingByFid

func (f *FollowService) GetFollowingByFid(fid uint64, limit int, cursor string) ([]users.User, string, error)

func (*FollowService) GetFollowingByFname

func (f *FollowService) GetFollowingByFname(fname string, limit int, cursor string) ([]users.User, string, error)

func (*FollowService) Unfollow

func (f *FollowService) Unfollow(fid uint64) error

Jump to

Keyboard shortcuts

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