Source returns the current configuration source.
()
| 91 | |
| 92 | // Source returns the current configuration source. |
| 93 | func (n *Notifier) Source() Source { |
| 94 | n.lock.RLock() |
| 95 | defer n.lock.RUnlock() |
| 96 | return n.source |
| 97 | } |
| 98 | |
| 99 | // SetSource sets the configuration Source for a Notifier. |
| 100 | func (n *Notifier) SetSource(source Source) { |
no outgoing calls
no test coverage detected