add support for streaming requests. cleanup watcher initilisation
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user