add support for streaming requests. cleanup watcher initilisation

This commit is contained in:
Asim
2015-06-01 18:55:27 +01:00
parent fa2c27b64f
commit 09c784d294
25 changed files with 729 additions and 384 deletions

View File

@@ -5,6 +5,11 @@ type Registry interface {
Deregister(*Service) error
GetService(string) (*Service, error)
ListServices() ([]*Service, error)
Watch() (Watcher, error)
}
type Watcher interface {
Stop()
}
type Service struct {