StopMonitoringLists stops the monitoring lists goroutine.
()
| 97 | |
| 98 | // StopMonitoringLists stops the monitoring lists goroutine. |
| 99 | func (o *Operator) StopMonitoringLists() { |
| 100 | if o.listsMonitorRunning == true { |
| 101 | o.exitMonitorChan <- true |
| 102 | o.exitMonitorChan = nil |
| 103 | o.listsMonitorRunning = false |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | func filterDomains(line, defValue string) (bool, string, string) { |
| 108 | if len(line) < 9 { |
no outgoing calls