Documentation ¶
Index ¶
- type Follow
- type FollowService
- func (f *FollowService) Follow(fid uint64) error
- func (f *FollowService) GetFollowersByFid(fid uint64, limit int, cursor string) ([]users.User, string, error)
- func (f *FollowService) GetFollowersByFname(fname string, limit int, cursor string) ([]users.User, string, error)
- func (f *FollowService) GetFollowingByFid(fid uint64, limit int, cursor string) ([]users.User, string, error)
- func (f *FollowService) GetFollowingByFname(fname string, limit int, cursor string) ([]users.User, string, error)
- func (f *FollowService) Unfollow(fid uint64) error
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(account *account.AccountService, registry *registry.RegistryService) *FollowService
func (*FollowService) Follow ¶
func (f *FollowService) Follow(fid uint64) error
func (*FollowService) GetFollowersByFid ¶
func (*FollowService) GetFollowersByFname ¶
func (*FollowService) GetFollowingByFid ¶
func (*FollowService) GetFollowingByFname ¶
func (*FollowService) Unfollow ¶
func (f *FollowService) Unfollow(fid uint64) error
Click to show internal directories.
Click to hide internal directories.