cache

package
v0.0.0-...-3b4b472 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	rueidis.Client
}

func NewCache

func NewCache(address string) (*Cache, error)

func (*Cache) CreateStickerPack

func (c *Cache) CreateStickerPack(id int, title, previewURL string) error

func (*Cache) GetStickerPacks

func (c *Cache) GetStickerPacks(stickerPacksIDs []int) (map[int]*domain.StickerPack, error)

func (*Cache) Load

func (c *Cache) Load(stickerPacksIDs []domain.StickerPack) error

Jump to

Keyboard shortcuts

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