sharedRedis

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SharedRedis

type SharedRedis struct {
	Db *goredis.Client

	ProjectCache sync.Map
	// contains filtered or unexported fields
}

func GetSharedRedisDriver

func GetSharedRedisDriver(cfg *models.DriverCredentials) (*SharedRedis, error)

func (*SharedRedis) Get

func (b *SharedRedis) Get(id string) (interface{}, error)

func (*SharedRedis) Set

func (b *SharedRedis) Set(id string, data interface{}) error

Jump to

Keyboard shortcuts

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