micro/registry/watcher.go

12 lines
136 B
Go
Raw Normal View History

2015-12-05 04:12:29 +03:00
package registry
type Watcher interface {
Next() (*Result, error)
Stop()
}
type Result struct {
Action string
Service *Service
}