cachedrepo

package
v0.0.0-...-5994053 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeCursor

func DecodeCursor(c string) (string, int64, error)

func NewRedisRepo

func NewRedisRepo(ctx context.Context, config models.RedisConfig) *redisRepo

Types

type Cache

type Cache interface {
	Set(models.FeedItem) error
	Get(models.Cursor) ([]models.FeedItem, error)
}

Jump to

Keyboard shortcuts

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