rdb

package
v0.0.0-...-9bdafd8 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RDB *redis.Client

Functions

func AddFollow

func AddFollow(ctx context.Context, followerID int64, followID int64) error

func CancelFollow

func CancelFollow(ctx context.Context, followerID int64, followID int64) error

func CheckFollow

func CheckFollow(ctx context.Context, followerID int64, followID int64) (bool, error)

func GetFollowCount

func GetFollowCount(ctx context.Context, followerID int64) (int64, error)

func GetFollowList

func GetFollowList(ctx context.Context, followerID int64) ([]int64, error)

func GetFollowerCount

func GetFollowerCount(ctx context.Context, followID int64) (int64, error)

func GetFollowerList

func GetFollowerList(ctx context.Context, followID int64) ([]int64, error)

func GetFriendList

func GetFriendList(ctx context.Context, myID int64) ([]int64, error)

func Init

func Init()

Types

This section is empty.

Jump to

Keyboard shortcuts

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