12 lines
136 B
Go
12 lines
136 B
Go
|
package registry
|
||
|
|
||
|
type Watcher interface {
|
||
|
Next() (*Result, error)
|
||
|
Stop()
|
||
|
}
|
||
|
|
||
|
type Result struct {
|
||
|
Action string
|
||
|
Service *Service
|
||
|
}
|