Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultRegistry = NewMemory() // ErrWatcherStopped error when watcher is stopped. ErrWatcherStopped = errors.New("watcher stopped") )
Functions ¶
This section is empty.
Types ¶
type Registry ¶
Registry The registry provides an interface for service discovery and an abstraction over varying implementations {consul, etcd, zookeeper, ...}.
func NewRegistry ¶
func NewRegistry() Registry
NewRegistry returns a new default registry which is mdns.
Click to show internal directories.
Click to hide internal directories.