State is part of Service interface.
()
| 319 | |
| 320 | // State is part of Service interface. |
| 321 | func (b *BasicService) State() State { |
| 322 | b.stateMu.RLock() |
| 323 | defer b.stateMu.RUnlock() |
| 324 | return b.state |
| 325 | } |
| 326 | |
| 327 | // AddListener is part of Service interface. |
| 328 | func (b *BasicService) AddListener(listener Listener) { |
no outgoing calls
no test coverage detected