Allow setting of timeout for registry
This commit is contained in:
@@ -8,9 +8,7 @@ type Registry interface {
|
||||
Watch() (Watcher, error)
|
||||
}
|
||||
|
||||
type options struct{}
|
||||
|
||||
type Option func(*options)
|
||||
type Option func(*Options)
|
||||
|
||||
var (
|
||||
DefaultRegistry = newConsulRegistry([]string{})
|
||||
|
Reference in New Issue
Block a user