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

Method SetPluginAuthParser

internal/watcher/watcher.go:145–149  ·  view source on GitHub ↗

SetPluginAuthParser updates the plugin auth parser used for file auth synthesis.

(parser synthesizer.PluginAuthParser)

Source from the content-addressed store, hash-verified

143
144// SetPluginAuthParser updates the plugin auth parser used for file auth synthesis.
145func (w *Watcher) SetPluginAuthParser(parser synthesizer.PluginAuthParser) {
146 w.clientsMutex.Lock()
147 defer w.clientsMutex.Unlock()
148 w.pluginAuthParser = parser
149}
150
151// SetAuthUpdateQueue sets the queue used to emit auth updates.
152func (w *Watcher) SetAuthUpdateQueue(queue chan<- AuthUpdate) {

Callers 1

defaultWatcherFactoryFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected