Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrWatchFuncNotExists = errors.New("watchKeyFunc not exists") ErrWatchFuncAlreadyExists = errors.New("watchKeyFunc already exists") )
Functions ¶
This section is empty.
Types ¶
type PlanHandlerFunc ¶
type UnwatchKeyFunc ¶
type UnwatchKeyFunc func() error
type WatchKeyFunc ¶
type WatchKeys ¶
type WatchKeys map[string]WatchKeyFunc
type WatchPrefixKey ¶
type WatchPrefixKey map[string]WatchPrefixKeyFunc
type WatchPrefixKeyFunc ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
func (*Watcher) WatchPrefixKeys ¶
func (w *Watcher) WatchPrefixKeys(keys WatchPrefixKey) error
Click to show internal directories.
Click to hide internal directories.