MCPcopy
hub / github.com/gogf/gf / RemoveWatcher

Method RemoveWatcher

os/gcfg/gcfg_adaper.go:40–40  ·  view source on GitHub ↗

RemoveWatcher removes the watcher function for specified `pattern` and `resource`.

(name string)

Source from the content-addressed store, hash-verified

38 AddWatcher(name string, fn WatcherFunc)
39 // RemoveWatcher removes the watcher function for specified `pattern` and `resource`.
40 RemoveWatcher(name string)
41 // GetWatcherNames returns all watcher names.
42 GetWatcherNames() []string
43 // IsWatching checks and returns whether the specified `pattern` is watching.

Callers 1

StopWatchMethod · 0.65

Implementers 7

Clientcontrib/config/polaris/polaris.go
Clientcontrib/config/apollo/apollo.go
Clientcontrib/config/consul/consul.go
Clientcontrib/config/kubecm/kubecm.go
Clientcontrib/config/nacos/nacos.go
AdapterFileos/gcfg/gcfg_adapter_file.go
AdapterContentos/gcfg/gcfg_adapter_content.go

Calls

no outgoing calls

Tested by

no test coverage detected