Watcher is an interface that returns updates about services within the registry.
| 5 | // Watcher is an interface that returns updates |
| 6 | // about services within the registry. |
| 7 | type Watcher interface { |
| 8 | // Next is a blocking call |
| 9 | Next() (*Result, error) |
| 10 | Stop() |
| 11 | } |
| 12 | |
| 13 | // Result is returned by a call to Next on |
| 14 | // the watcher. Actions can be create, update, delete. |
no outgoing calls
no test coverage detected
searching dependent graphs…