caches

package
v0.0.0-...-5b4339c Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Redis

type Redis struct {
	// contains filtered or unexported fields
}

func New

func New(redisOptionsStr string) *Redis

func (*Redis) AddProductByType

func (r *Redis) AddProductByType(productType databases.ProductType, products []databases.Product) error

func (*Redis) DelProductByType

func (r *Redis) DelProductByType(productType databases.ProductType) error

func (*Redis) GetProductByType

func (r *Redis) GetProductByType(productType databases.ProductType) ([]databases.Product, error)

Jump to

Keyboard shortcuts

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