Documentation ¶
Index ¶
- type EventType
- type WatchEvent
- type Watcher
- type WatcherManager
- func (wm *WatcherManager) Close()
- func (wm *WatcherManager) Notify(watchEvent *WatchEvent)
- func (wm *WatcherManager) Start()
- func (wm *WatcherManager) UnWatch(watcher *Watcher)
- func (wm *WatcherManager) Watch(ctx context.Context, key string) <-chan *WatchEvent
- func (wm *WatcherManager) Watched(key string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WatchEvent ¶
type WatcherManager ¶
type WatcherManager struct {
// contains filtered or unexported fields
}
func NewWatcherManager ¶
func NewWatcherManager() *WatcherManager
func (*WatcherManager) Close ¶
func (wm *WatcherManager) Close()
func (*WatcherManager) Notify ¶
func (wm *WatcherManager) Notify(watchEvent *WatchEvent)
func (*WatcherManager) Start ¶
func (wm *WatcherManager) Start()
func (*WatcherManager) UnWatch ¶
func (wm *WatcherManager) UnWatch(watcher *Watcher)
func (*WatcherManager) Watch ¶
func (wm *WatcherManager) Watch(ctx context.Context, key string) <-chan *WatchEvent
func (*WatcherManager) Watched ¶
func (wm *WatcherManager) Watched(key string) bool
Click to show internal directories.
Click to hide internal directories.