service

package
v0.0.0-...-5713efe Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 14 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

func (*FollowService) Follow

func (s *FollowService) Follow(req *follow.ActionRequest) error

func (*FollowService) GetFollowCount

func (s *FollowService) GetFollowCount(req *follow.FollowCountRequest) (int64, error)

func (*FollowService) GetFollowList

func (s *FollowService) GetFollowList(req *follow.FollowListRequest) ([]*follow.User, error)

func (*FollowService) GetFollowerCount

func (s *FollowService) GetFollowerCount(req *follow.FollowerCountRequest) (int64, error)

func (*FollowService) GetFollowerList

func (s *FollowService) GetFollowerList(req *follow.FollowerListRequest) ([]*follow.User, error)

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