Documentation ¶
Index ¶
- type KeyPrefix
- func (k *KeyPrefix) DialHook(next redis.DialHook) redis.DialHook
- func (k *KeyPrefix) Disable()
- func (k *KeyPrefix) Enable()
- func (k *KeyPrefix) Prefix() string
- func (k *KeyPrefix) ProcessHook(next redis.ProcessHook) redis.ProcessHook
- func (k *KeyPrefix) ProcessPipelineHook(next redis.ProcessPipelineHook) redis.ProcessPipelineHook
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 ¶
NewKeyPrefix 不支持 migrate 不支持Redis Stream
func (*KeyPrefix) DialHook ¶ added in v1.20.8
func (k *KeyPrefix) DialHook(next redis.DialHook) redis.DialHook
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
Click to show internal directories.
Click to hide internal directories.