Documentation ¶
Index ¶
- Variables
- func AddFollow(ctx context.Context, followerID int64, followID int64) error
- func CancelFollow(ctx context.Context, followerID int64, followID int64) error
- func CheckFollow(ctx context.Context, followerID int64, followID int64) (bool, error)
- func GetFollowCount(ctx context.Context, followerID int64) (int64, error)
- func GetFollowList(ctx context.Context, followerID int64) ([]int64, error)
- func GetFollowerCount(ctx context.Context, followID int64) (int64, error)
- func GetFollowerList(ctx context.Context, followID int64) ([]int64, error)
- func GetFriendList(ctx context.Context, myID int64) ([]int64, error)
- func Init()
Constants ¶
This section is empty.
Variables ¶
View Source
var RDB *redis.Client
Functions ¶
func CheckFollow ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.