redis

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWatcher

func NewWatcher(rds kplrds.RedisClient) (persist.Watcher, error)

Types

type Watcher

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

func (*Watcher) Close

func (c *Watcher) Close()

func (*Watcher) SetUpdateCallback

func (c *Watcher) SetUpdateCallback(callback func(string)) error

func (*Watcher) Update

func (c *Watcher) Update() error

Jump to

Keyboard shortcuts

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