redis

package
v0.0.0-...-06cf8dc Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Types

type Chain

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

func Connect

func Connect(node ...string) *Chain

func (*Chain) Del

func (c *Chain) Del(key ...string)

func (*Chain) GetBool

func (c *Chain) GetBool(key string) bool

func (*Chain) GetBytes

func (c *Chain) GetBytes(key string) []byte

func (*Chain) GetFloat32

func (c *Chain) GetFloat32(key string) float32

func (*Chain) GetFloat64

func (c *Chain) GetFloat64(key string) float64

func (*Chain) GetInt

func (c *Chain) GetInt(key string) int

func (*Chain) GetInt64

func (c *Chain) GetInt64(key string) int64

func (*Chain) GetPTTL

func (c *Chain) GetPTTL(key string) time.Duration

func (*Chain) GetRDB

func (c *Chain) GetRDB() *goRedis.Client

func (*Chain) GetString

func (c *Chain) GetString(key string) string

func (*Chain) GetTTL

func (c *Chain) GetTTL(key string) time.Duration

func (*Chain) GetUint64

func (c *Chain) GetUint64(key string) uint64

func (*Chain) Keys

func (c *Chain) Keys(pattern string) ([]string, error)

func (*Chain) Scan

func (c *Chain) Scan(cursor uint64, match string, count int64) *goRedis.ScanCmd

func (*Chain) Set

func (c *Chain) Set(key string, value any, expiration time.Duration) error

Jump to

Keyboard shortcuts

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