hooks

package
v1.24.6 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyPrefix added in v1.20.8

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

func NewKeyPrefix

func NewKeyPrefix(prefix string) *KeyPrefix

NewKeyPrefix 不支持 migrate 不支持Redis Stream

func (*KeyPrefix) DialHook added in v1.20.8

func (k *KeyPrefix) DialHook(next redis.DialHook) redis.DialHook

func (*KeyPrefix) Disable added in v1.20.8

func (k *KeyPrefix) Disable()

func (*KeyPrefix) Enable added in v1.20.8

func (k *KeyPrefix) Enable()

func (*KeyPrefix) Prefix added in v1.20.8

func (k *KeyPrefix) Prefix() string

func (*KeyPrefix) ProcessHook added in v1.20.8

func (k *KeyPrefix) ProcessHook(next redis.ProcessHook) redis.ProcessHook

func (*KeyPrefix) ProcessPipelineHook added in v1.20.8

func (k *KeyPrefix) ProcessPipelineHook(next redis.ProcessPipelineHook) redis.ProcessPipelineHook

Jump to

Keyboard shortcuts

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