MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / ReloadConfigIfChanged

Method ReloadConfigIfChanged

sdk/cliproxy/types.go:134–140  ·  view source on GitHub ↗

ReloadConfigIfChanged asks the underlying watcher to reload config from disk.

()

Source from the content-addressed store, hash-verified

132
133// ReloadConfigIfChanged asks the underlying watcher to reload config from disk.
134func (w *WatcherWrapper) ReloadConfigIfChanged() bool {
135 if w == nil || w.reloadConfigIfChanged == nil {
136 return false
137 }
138 w.reloadConfigIfChanged()
139 return true
140}
141
142// SetPluginAuthParser updates the plugin auth parser used by the watcher.
143func (w *WatcherWrapper) SetPluginAuthParser(parser PluginAuthParser) {

Callers 1

Calls 1

reloadConfigIfChangedMethod · 0.80

Tested by

no test coverage detected