micro/registry/watcher.go
2015-12-05 01:12:29 +00:00

12 lines
136 B
Go

package registry
type Watcher interface {
Next() (*Result, error)
Stop()
}
type Result struct {
Action string
Service *Service
}