SetPluginAuthParser updates the plugin auth parser used for file auth synthesis.
(parser synthesizer.PluginAuthParser)
| 143 | |
| 144 | // SetPluginAuthParser updates the plugin auth parser used for file auth synthesis. |
| 145 | func (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. |
| 152 | func (w *Watcher) SetAuthUpdateQueue(queue chan<- AuthUpdate) { |
no outgoing calls
no test coverage detected