followserviceiface

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2024 License: GPL-3.0 Imports: 2 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 interface {
	AddFollow(ctx context.Context, userId, targetUserId int64) error
	RemoveFollow(ctx context.Context, userId, targetUserId int64) error
	ListFollowing(ctx context.Context, userId int64, followType v1.FollowType, pagination *v1.PaginationRequest) (*ListFollowingDTO, error)
	ListFollowingInGivenList(ctx context.Context, userId int64, targetUserIdList []int64) ([]int64, error)
}

type ListFollowingDTO added in v0.1.4

type ListFollowingDTO struct {
	Count      int64
	UserIdList []int64
}

Jump to

Keyboard shortcuts

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