cache

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 9 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 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