cache

package
v0.0.0-...-37f092c Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RedisClient *redis.Client

Functions

func AddVideoList

func AddVideoList(ctx context.Context, videoList []db.Video, latestTime int64)

func GetUserVideoFeed

func GetUserVideoFeed(ctx context.Context, uid int64, offset int64, token string) (vids []string, err error)

func GetVideoList

func GetVideoList(ctx context.Context, latestTime int64) (videoList []db.Video, err error)

func Init

func Init()

func IsExistVideoInfo

func IsExistVideoInfo(ctx context.Context, latestTime int64) (exist int64, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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