follows

package
v0.0.0-...-6db1f7a Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 5 Imported by: 0

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